RavikantCG
12-13-2007, 01: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! :)
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! :)
