#When enemy dedect player its become flipped some reason!
9 messages · Page 1 of 1 (latest)
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)
hmm
but same code line in my homing missile works well
When enemy dedect player its become flipped some reason!
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.
Yes, Ive seen this as well. If your other sprite is looking to the right, then it should work as expected but since this enemy is looking to the left, it doesn't
Yes, I think that's the problem to. So I have to go turn it into a sprite.