hellooo
i currently get really stuck with the 2D AI movement..
how can the AI know if the player is behind him? and he must "FLIP" the sprite before "Move Toward" the player. not walking backward...
Look At 2D is not the solution, because it's rotate, not flip...
while Get Distance value is always give positive value, so the AI "SPRITE" won't know if the player is in front of him or behind him.
how should he know WHEN he must face/flip backward or not??
i want to make the enemy following player with the right FLIP.
i know it's something to do with the X scale. i just don't know what i must use to achieve this.
i really don't know what should i use, have been stuck for a while with this.
please help me, please step by step for what action should i use