Help on a Maxscript problem...

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  05 May 2003
Help on a Maxscript problem...

Hi all, I have a little problem with the script...


I have to align a object to the first bone in a IK Chain!!

What I did was this:

1. Created 3 bones and put on the IK-HI Solver.
2. Createde a teapot object.
3. moved the IK solver around a couple of times...


Then in the Maxscript Listner I typed:

$teapot.rotation = $Bone1.rotation

same for position



...this doesn't work!!!! ...what do I do wrong ????
__________________
Martin Andersen
www.3d-designer.dk | info@3d-designer.dk
 
  05 May 2003
Re: Help on a Maxscript problem...

Quote: Originally posted by MartinAndersen
Hi all, I have a little problem with the script...


I have to align a object to the first bone in a IK Chain!!

What I did was this:

1. Created 3 bones and put on the IK-HI Solver.
2. Createde a teapot object.
3. moved the IK solver around a couple of times...


Then in the Maxscript Listner I typed:

$teapot.rotation = $Bone1.rotation

same for position




First of all, the default names would be Teapot01 and Bone01.

Then, you should copy the complete transformation matrix to avoid any confusion, coordinate system issues etc.

$Teapot01.transform = $Bone01.transform

Works even in gMax!

Hope this helps.
Bobo
 
  05 May 2003
Thanks THX.. superfast also :-D

hehe also found a work around, in the meantime:

Create a dummy and constraint it to the bone. Use the Dummy coordinates on the Teapot. :-)


But Boboman aaalways got the best (and farstest : )

Thanks alot!
__________________
Martin Andersen
www.3d-designer.dk | info@3d-designer.dk

Last edited by MartinAndersen : 05 May 2003 at 01:31 AM.
 
  01 January 2006
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 08:23 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.