Banking Bike Tut (Quick and Dirty)
Xpresso – by: base80
January 19th, 2006
This is a cheap trick to do banking. It is very useful for animating bikes or airplanes.
Here is the image of what you can get in 2 minutes of xpresso.
Follow up:
Ok lets get started. The trick consists simply of subtracting the previous rotation from the current rotation.
So lets take the rotation H of our “bike”, connect it to a memory node set to go one level back (2-1).
Feed the result to a Math-subtract node together with the original Rotation H. (the order of connection lets you play on inclining inwards or outwards, just try).
Now connect the result to the rotation B of the “bike”.
That is it really!
To fine tune the setup you can use a range-mapper just before the last connection.
Enjoy!