Problems with Rotate to Position
I'd like an enemy to rotate to face the player when the player either targets the enemy or the player gets within a certain distance of the enemy.
I have a constrain attribute on the PlayerX and PlayerY.
I have a rule that when the player targets the enemy, "Rotate to Position PlayerX and PlayerY."
The enemy doesn't really rotate towards me, it just rotates to a weird position.
Any thoughts?
I have a constrain attribute on the PlayerX and PlayerY.
I have a rule that when the player targets the enemy, "Rotate to Position PlayerX and PlayerY."
The enemy doesn't really rotate towards me, it just rotates to a weird position.
Any thoughts?
Comments
cheers
So I have to create an angle attribute? A real attribute, I'm assuming.
theres a attribute type called angle lol