Hi everyone,
I have a problem that has me very tired. Maybe someone can help me with it.
I did a enemy, that patrols defined area, and when the Player is in range of LOS he trying to catch him.
Problem is how to mirroring image of enemy when he moving to left or right side. I moving enemy by behevior MoveTo. So it's dosen't change angle of object. I don't have any idea how can i make to enemy know, if he moving left then mirror, and then in right not miror.
Here is a screen of my work.
<img src="http://oi59.tinypic.com/30bpytu.jpg" border="0" />