#SOMEONE PLS HELP IM GOING INSANE

1 messages · Page 1 of 1 (latest)

fast oyster
#

I need help making a mechanic where the enemy shoots at the player

marble shale
#

you can make the enemy look at the player and use the roation to shoot at the player

#

u want an example?

fast oyster
marble shale
#

oh yup no worries

#

so you'll need to be a lil math let me find my code

#

target = rad_to_deg(global_position.angle_to_point(player.global_position))