[Closed] HI IK in Maxscript?
I’m trying to assign HI IK to an existing bone structure… I can’t figure out how to do it.
I got a HD chain to work using
” HDIKsys.ikchain $bone01 $bone03 true “
but I can’t find a comparable command for HI IK.
is there a way to do this?
OK, I got it…
I took a peek in the max macroscript directory (C:\3dsmax6\UI\MacroScripts) and found MAcroscripts that come with max. one of them is called “Macro_IKSolvers.mcr”
I noticed that the macro recorder kept referring to this file when I selected the IK solver, so I took a chance at a peek, and it paid off.
the line is simply
“iksys.ikchain $bone01 $bone03 “IKHISolver”
and to add a swivel target (which is what started this whole thing)
[size=1]([/size]
[size=1]NIK = iksys.ikchain $bone01 $bone03 “IKHISolver
NIK.transform.controller.VHTarget = $Point01
)
hope that helps anyone else looking for inverse kinematics info in maxscript
[/size]