Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / MaxScript / disable parent transform inheritance Via maxscript?
  RSS 2.0 ATOM  

disable parent transform inheritance Via maxscript?
Rate this thread
 
32285
 
Permlink of this thread  
avatar
  • Total Posts: 152
  • Joined: 01 September 2006 10:01 AM

Hello.

I’m not really into maxscript, but i want to know if there is a way to diassable the scale inheritance of an object (bone) from it’s parent?
Normally this is done in the ‘link info’ panel, by unchecking the x,y,z, values in the scale group.
I would really apreciate a script that dissables these values

Thanks in advance.



Replies: 0
avatar
  • SITT
  • Posted: 22 July 2009 02:45 PM

getInheritanceFlags <node>

setInheritanceFlags <node> (#all | #none | <bitarray>) keepPos:<boolean>—mapped

Get and set the inheritance flags for the specified node as an <bitarray>. If a bit is on, the corresponding inheritance is turned on. The order of the bits is: #{POS_X,POS_Y,POS_Z,ROT_X,ROT_Y,ROT_Z,SCALE_X,SCALE_Y,SCALE_Z}

If keepPos:false is specified, the node may move when an inheritance is turned on or off.



i am Chinese, my English is very poor,thank you for talk
MSN:sitt#live.cn

Replies: 0