- Home /
Question by
raptorkwok · Feb 12, 2014 at 09:23 AM ·
character animation
Motorcycle Racing: Incline Briefly while changing lane
I'm making a motorcycle racing game, but like the game Sonic Dash, which has 3 lanes in the runway. I am able to change lane by :
gameObject.transform.position += new Vector(1,0,0); // to the right
while the gameObject
is a motor bike heading towards Z-axis. I would like the bike to be inclined slightly Z-axis briefly when changing lane instead of jumping lane suddenly with one button pressed. How can I achieve this?
Comment
Your answer
Follow this Question
Related Questions
can i use character from CHARACTER CREATOR 2D in other animation software 0 Answers
Creating character animations from within Unity. 0 Answers
How to play animation on keypress 2 Answers
How to start an animation from the end of another animation? 1 Answer
1st Person Controller with Full Character Animation? 0 Answers