Constrain rotation to self.motion

GuaveMediaGuaveMedia Member, PRO Posts: 1,262
Hey guys,

kinda like have a blackout right now. I want to constrain my actor (so the top is at front) to his self motion.

Thanks a lot :)

Comments

  • DeadlySeriousMediaDeadlySeriousMedia ArizonaMember Posts: 838
    You want it to lean in the direction it's moving relative to the speed it's moving?
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    I believe it's Constrain Attribute self.Rotation to vectorToAngle(self.motion.linear velocity.X, self.motion.linear velocity.Y)
  • GuaveMediaGuaveMedia Member, PRO Posts: 1,262
    Yeah thank :) I had fixed rotation checked on, was quite late..

    Cheers
Sign In or Register to comment.