playMaker

Author Topic: Rotating away on one axis?  (Read 636 times)

Hasuman

  • Playmaker Newbie
  • *
  • Posts: 19
Rotating away on one axis?
« on: September 04, 2020, 01:11:11 PM »
How would you, for example, rotate an arrow, a cogwheel, an eye in a sidescroller to always point aways from the player on one axis? It doesn't have to be smooth or anything. Just an instant turn away. I'm kinda struggling to come up with a solution and I'd want to use it to rotate enemies away from the point where they take damage from.