PDA

View Full Version : Example of Wheel rotation with Pi expression


3DMastermind
05-23-2008, 10:58 AM
So many ask me for a formula for rotating a car wheel with the Pi expression (π).
I attached a sample scene.
Move the box and the wheel will rotate.
The " * 10 " in the expression in (on rot z) represents the diameter of the wheel which you must change according to the diam of your own wheel.

Enjoy.

GeneCrucean
05-24-2008, 11:29 AM
The " * 10 " in the expression in (on rot z) represents the diameter of the wheel which you must change according to the diam of your own wheel.

And this wheel too. It's radius is 5. ;)


Personally I'd like to see some sort of setup that would allow translation on any axis. I can think of a few ways I might approach it but the programmer in me dies when I think too hard about it.

mocaw
05-24-2008, 01:29 PM
Would it make it simpler to use a plotted curve path for each wheel to measure the distance traveled of a given time?

Just a noob question- but I don't have the foggiest on this...