PDA

View Full Version : setInheritanceFlags Issue (Max 8)


dmak
03-19-2008, 03:27 PM
I'm trying to turn on/off rotation inheritance of a child bone, basically I want a characters head/neck to either rotate with the spine or keep it's rotation offset when the spine is rotated. The code I'm using is:


setInheritanceFlags $neckBone01 #{1,2,3,7,8,9} -- turn inheritance off
setInheritanceFlags $neckBone01 #all -- turn inheritance on


When I turn inheritance off then rotate the spine (offsetting its rotation from the spine bone), then turn inheritance back on my first neck bone snaps to match the rotation of the spine bone. I can go into the link info tab under hierarchy and turn the inheritance on and off manually it all works fine.

If anyone out there has overcome this issue please let me know how, thanks.

eek
03-19-2008, 08:10 PM
is this an animatable attribute you want? - because i know for sure you cant animate inheritance flags - also changing this halfway through an animation you gunna have massive problems.

CGTalk Moderation
03-19-2008, 08:10 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.