PDA

View Full Version : Car wheel rigging Problem


RavikantCG
12-13-2007, 02:23 PM
Hi all, :)
I am new in maxscript.
I am rigging a car.
I have one problem with wheel rotation expression.

1) - (c = 2*pi*r) ------- we get circumfarence
2) - ((displacement/c)*2*pi) ---- here we get rotation of wheel axis

Car wheel rotation is completly depends on car's moving direction.
(I am not using Spline)
When i move the car in one direction, everything is ok.
But when I turn the car in opposite direction, wheel rotates in wrong direction. :banghead:
--------------------------------------------------------------------
this is my float_script code for rotational axis

dependsOn $Cylinder01_help.pos.controller
c = 2 * pi * rad
((xDisp/c)*2*pi)

-------------------------------------------------------------------
How to calculate that car is turned in opposite direction?
So that I can rotate the wheel in right direction.

Any Solution for this! :cry:
Thanks for Help! :)

PEN
12-13-2007, 03:03 PM
Do a search, there are about 100 thread on the same topic already. Don't mean to brush you off just that I think you will find the questions have been asked and there are many solutions that have been discussed.

CGTalk Moderation
12-13-2007, 03:03 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.