View Full Version : tank rig problem in maya
polo3d 03-06-2011, 09:15 PM hello evry one
i have a problem about tank i make it and i start to rig it
when i rig some pieces i came to problem the "track tank"
i rig it by wire tool but...
1-how to control the speed of "track tank"by mel or by expression .
and
2- how to rotate te two "tack tank" it Means as a way to reverse rotation tank track by expression
iam sorry for my bad english
thaks
|
|
nuternativ
03-09-2011, 01:09 AM
hi,
Here http://www.youtube.com/watch?v=yA0MtUr2Xbs&playnext=1&list=PLD4BC07467D835E74
The clip demonstrates an easy way to rig a tank track using wire deformer.
By using this method, the track need to be modelled in a perfect circle shape.
hope this helps.
polo3d
03-17-2011, 02:19 PM
thank you MR -nuternativ-
but i use the wire tool , but the problem is i will rig this tank like the real tank
http://img105.herosh.com/2011/03/17/530826274.jpg
like the rotate the wheels in any direction in maya XYZ, and rotate the tread in any direction with out problem's with en expression or in mel script , because i try and try but I could not find a solution myself
thanks for evry one.
polo3d
03-23-2011, 10:40 PM
HI,
This is my video to understand the problem (rotation problem)
http://www.youtube.com/watch?v=_JC1Bm7SkL4
and this my expression :
*********************************************
float $radius = 5;
float $Zval = ctrl.translateZ ;
float $Xval = ctrl.translateX;
float $distance = ($Zval * $Zval) + ($Xval * $Xval);
$distance = sqrt($distance);
float $rotation = $distance / (2 * 3.412 * $radius) * 360;
tank.rotateX = $rotation;
*********************************************
i hope to find a solution
thanks
polo3d
03-24-2011, 10:11 PM
Where are the geniuses of Rigging
CGTalk Moderation
03-24-2011, 10:11 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.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.