PDA

View Full Version : move a biped in max script


Gnimmel
01-26-2005, 03:04 PM
I'm fairly new to max script, but I've been using MEL for years, so I'm not a scripting novice as such, just new to max script.
Anyway, I've been trying to move a biped with max script and I can't find the solution in the docs.
Simple question (I hope), how can I simply move a biped limb, say the right foot, to a new position and rotation with maxscript? The listerner lists the same output as a normal max object ($.pos = [1,1,1]; etc.), but this does not work with a biped?
Also, I'd prefer to set the rotation with euler angles.

Thanks,

Richard

Gnimmel
01-26-2005, 06:06 PM
OK I managed to work most of it out, but whats wrong with the line below?

biped.setTransform $Bip01 #rotation (quat -0.382683 0 0 0.92388) false limb:$Bip01 R Foot;


This rotates the whole biped, not just the right foot? What am I typing wrong for the limb:


Thanks,

Richard

CGTalk Moderation
01-26-2006, 07:00 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.