View Full Version : biped.setTransform
jonlauf 03-01-2007, 07:27 PM I am working on a script that animates a biped according to a bone setup using biped.setTransform. Everything works well until the scene is saved. Then, certain biped parts no longer set their transforms appropriately, most noticeably the spine. Does anyone know what might be occuring that would cause a scene save to affect biped in this way?
Thanks,
Jon
|
|
jonlauf
03-02-2007, 03:57 PM
So I've narrowed down the problem a bit. It seems that if you rotate biped's first spine link in figure mode, then save the max file or a .fig file, you can no longer set accurate rotations on that spine link. To recreate the effect you can follow these steps:
1. create a biped in the front viewport
2. turn on figure mode
3. rotate the 1st spine link forward
4. turn off figure mode
5. create a dummy and align it to the 1st spine link
6. type in the listener:
biped.setTransform $'Bip01 Spine' #rotation $Dummy01.transform.rotationpart false
The spine will stayed aligned to the Dummy, now save the file and execute the same line in the listener and the spine will jump. If anyone has any clues on why this is happening or any work arounds, I'd really appreciate it. Thanks
CGTalk Moderation
03-02-2007, 03:57 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-2012, Jelsoft Enterprises Ltd.