Although I have scripting experiences I'm new to maxscript. I hope to achieve something and I am almost there, but I don't know how to apply it to a selected biped bone/part.
What I need to do is toggle trajectory (motion panel trajectory, not object properties trajectory) on/off. I have a script that does that to a newly created biped (it is the last line) but I don't know how to apply it to any selected biped bone.
Here is the script:
bipObj = biped.createNew 100 100 [0,0,0]
bip = bipObj.transform.controller
bip.displayTrajectories = on
Could anybody kindly help me, please?
Many, many thanks in advance!