Problems with Rotate to Position

DrGlickertDrGlickert Member Posts: 1,135
edited November -1 in Working with GS (Mac)
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?

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    youll need to constrain a angle attirubte to the players rotastion. then interpolate rotation to the angle attributwe

    cheers
  • DrGlickertDrGlickert Member Posts: 1,135
    Are you drunk? HAHA

    So I have to create an angle attribute? A real attribute, I'm assuming.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    hahhha!

    theres a attribute type called angle lol
  • DrGlickertDrGlickert Member Posts: 1,135
    Wait, which way do images need to go into the scene? Facing down? To the left or Right? or facing up?
Sign In or Register to comment.