#When enemy dedect player its become flipped some reason!

9 messages · Page 1 of 1 (latest)

sudden axle
green tundra
#

Afaik this is because of look_at
Try to use rotation_degrees to rotate the enemy and keep in mind that 0° is like the angle of the vector (1, 0)

sudden axle
#

hmm

#

but same code line in my homing missile works well

#

When enemy dedect player its become flipped some reason!

sudden axle
#

The workaround I found, though only in terms of display, is to rotate the animated_sprite 180 degrees.

#

I remember seeing the real solution to this on Godot's blog in a section about pathfinding, but no matter how much I searched, I couldn't find it.

green tundra
sudden axle
#

Yes, I think that's the problem to. So I have to go turn it into a sprite.