.morfo.
11-29-2002, 09:11 AM
I want move that mech with some locator, i make the chain of the bones and i assign one locator at the ank and one locator at the foot, one locator at the head..
The ank locatori is linked with the foot locator, i make some slider for the foot (Rise for up and down) and (Ahead for forward and backward) Ok now with another locator i want to move all with a script... i tried with this script:
------
Rtfoot.translateZ=(all.translateZ); //move right leg
Body.translateZ = (Ltfoot.translateZ + Rtfoot.translateZ)/2 + Body.Ahead; //move head
Rtfoot.translateY=(all.translateZ) + Rtfoot.Rise_foot; //move up the leg
-------
Rtfoot: right foot
Body: head
I have no idea how to move down the leg!!! because if i try with this expression:
Rtfoot.translateY=(all.translateZ) - Rtfoot.Rise_foot;
don't function .\
my final goal is:
Move one locator and the leg goinf forward uo and down:
the leg must WALK IN LOOP
if your need i make a link with my *.mb
i need this for my job pls help me sorry for my little english :)
The ank locatori is linked with the foot locator, i make some slider for the foot (Rise for up and down) and (Ahead for forward and backward) Ok now with another locator i want to move all with a script... i tried with this script:
------
Rtfoot.translateZ=(all.translateZ); //move right leg
Body.translateZ = (Ltfoot.translateZ + Rtfoot.translateZ)/2 + Body.Ahead; //move head
Rtfoot.translateY=(all.translateZ) + Rtfoot.Rise_foot; //move up the leg
-------
Rtfoot: right foot
Body: head
I have no idea how to move down the leg!!! because if i try with this expression:
Rtfoot.translateY=(all.translateZ) - Rtfoot.Rise_foot;
don't function .\
my final goal is:
Move one locator and the leg goinf forward uo and down:
the leg must WALK IN LOOP
if your need i make a link with my *.mb
i need this for my job pls help me sorry for my little english :)
