Finding the target angle

prasantha60prasantha60 Member Posts: 7
edited November -1 in Working with GS (Mac)
Hello
How can i find my target angle and rotate the actor to that angle. I know the X and Y position of the my target I need to find the angle so I can rotate the actor to that angle

Comments

  • VoidedSkyVoidedSky Member Posts: 1,095
    use "VectorToAngle(X,Y)"
    it is in the expression editor
  • RHRH Member Posts: 1,079
    You could just use rotate to position rather than rotate to angle
  • prasantha60prasantha60 Member Posts: 7
    CowTechMan said:
    use "VectorToAngle(X,Y)"
    it is in the expression editor

    Thanks Man
  • VoidedSkyVoidedSky Member Posts: 1,095
    yup
Sign In or Register to comment.