tilt walk animation help! Urgent!
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
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
vectorToAngle(self.motion.linear.x,self.motion.linear.y)
SM