[Closed] RotatePivotOnly not working
hi all.
i am trying to rotate the pivot along its local z-axis, via script. but the object itself is always moving at the same time.
At first, i found a similar thread:
[color=blue] http://forums.cgsociety.org/archive/index.php/t-636495.html [/color]and then the page about ‘RotatePivotOnly’ in max script manual.
So i tried to use the function “RotatePivotOnly” to do a local relative rotation for my secne, but i failed.
original: attachment 1
expected: attachment 2
my result: attachment 3
my scene and script: attachment 4
please help me out, thanks!
the maximum number of attachments is 3. so i attach the 4th one here.
Thank you.
Bones are different from other objects. Also objects that have the bone property on.
You will have to turn $.boneEnable=false to rotate the pivot alone then turn it back on after you’ve done(if bones are what you want, otherwise, you don’t have to).
Hope that helps.
Cheers!
Thank you for your help.
Unfortunately $.boneEnable has been false and no custom property found:
//from Max script listener
$ROOT.boneEnable
false
showProperties $ROOT
.boxsize : point3
false
you can open my scene and have a look (version: 3ds Max 2009 SP1).