Ball rotation from velocity
Hello, I recently started working on a simple project, where the player controls a ball using phone tilt. Because I also have a jump functionality, it is necessary to move the ball using AddForce (not torque). This way, player can influence the ball velocity even when it is in the air.
The downside to this is obviously, that the ball no longer rotates, instead it just slips around the ground. I am not good with the rotations math, so I really can´t get this working. What I essentialy need is to add rotation to the mesh component, calculated from the current velocity of the object.
Hope everything is clear.
asked Oct 19 '15 at 05:45 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here