tilt walk animation help! Urgent!

SAMmanSAMman Member Posts: 228
edited November -1 in Working with GS (Mac)
hey guys,
i have an actor I am trying to get to walk when I tilt. I figured that out, but I can't get it to rotate the actor the direction I am tilting, it's really buggy when I do vector to angle, accelerometer. Anyone have any ideas? That would be a huge help right now! Thanks tons.
SM

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    and you tried this?

    vectorToAngle(self.motion.linear.x,self.motion.linear.y)
  • steve86steve86 Member Posts: 806
    What john said
  • SAMmanSAMman Member Posts: 228
    Thanks, I will totally try that. I can't believe I didn't think of that, it must be one of those nights. Also, any suggestions for staying organized? Sometimes I get so many attributes and rules I forget what I did or what does what. thanks again.
    SM
  • SAMmanSAMman Member Posts: 228
    also, that last thing didn't work, but I will keep trying.
Sign In or Register to comment.