speed based on rotation?

jobonoobdudejobonoobdude Member Posts: 152
edited November -1 in Working with GS (Mac)
Hey guys, is there anyway that i could have an actor moving faster or slower based on his rotation? Well, I know I can do it, but all im doing right now is if self.rotation is < X accelerate X and so on, but is there anyway that I can do it with every degree of rotation without 360 rules? Complicated math stuff I'm thinkin'

Your help is appreciated! :)

-Jobo

Comments

  • RHRH Member Posts: 1,079
    Constrain self.motion.X to self.rotation?
  • jobonoobdudejobonoobdude Member Posts: 152
    no, more like if the actor is tilted down he goes faster, up and he goes slower
Sign In or Register to comment.