- Home /
C# Make an object rotate along axis its moving on
I want to make an object (let's say a cube), rotate at a steady rate on the same axis that's it's moving on. So if it changes direction from X to Z then the rotation would lerp from X axis into the Z axis.
I have no idea how to achieve this though, any help appreciated.
Comment
Your answer
Follow this Question
Related Questions
rotate axis of movement 0 Answers
Flip over an object (smooth transition) 3 Answers
Get localScale depending on rotation 1 Answer
Object facing the wrong way? 1 Answer