View Full Version : Euler Question
tAstyBITs 08-02-2002, 09:28 AM Is there any way to get Euler xyz information from a bone that is part of a IK chain?
I want to be able to assign a expression variable to IK'd bone.
|
|
FatAssasin
08-02-2002, 06:17 PM
Change the rotation controller to "Euler XYZ", or if you want position information then change the position controller to "Position XYZ". It's found under the motion tab, under "Assign Controller". Highlight the one you want to change then click on the green triangle with an arrow next to it.
toonman
08-03-2002, 01:12 AM
You must remember that any controllers assigned to bones will be overriden by the IK controller. You might therefore run into problems by trying to assign controllers to IK'd bones. If you want to read rotation values of IK'd bones, you can still do so with maxscript by using
$.transform.rotation (with your object selected)
or
$.transform.rotation as EulerAngles
if you want to read Euler angles.
Hope this helps! Cheers!!
tAstyBITs
08-05-2002, 06:16 AM
Thanks toonman that points me in the right direction. I played around with it in the Maxscript it works.
Now I just to need to fingure how to get it to work in my character rig.
I don't know much about scripting I'm still just learning the syntax of the maxscript language. So I need a little help.
Does anyone have a good link to script that might do what I'm trying to do? I trying to get the rotation information (euler xyz) off a bone that is part of a IK chain. I need to assign it to a variable in a expression controller.
Chris
08-05-2002, 09:16 PM
you should be able to assign that using something along the lines of:
variable = $objectname.transform.rotation
CGTalk Moderation
01-13-2006, 12: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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.