View Full Version : Creating an IK Chain via scripting

01 January 2009, 03:55 PM
HI all, thanks for reading this.

I'd like to create an IK Chain HI Solver on a bone chain.

I found this on a website which works well for me now:

IkChain01 = IKSys.ikChain selection[1] selection[3] "IKHISolver"

It creates the Ik chain but now, I'd like to access the properties and change them. For example, i'd like to pick an object in my scene to use as target for the swivel angle and i haven't found any doc on that yet in maxscript help.

I,d like to change other things also like the goal size display. The only thing i have been able to change so far is the name :(
It's not complicated stuff, but for some reason, it looks like what i'm finding out in maxscript help doesn't translate well to the actual thing.

Anyway thanks for the help :)

01 January 2009, 05:32 PM
$IK_leg_L.transform.controller.VHTarget = $CTRL_knee

VHTarget stands for vector handle target

$IK_leg_L.transform.controller.goalsize = 10

will change your display size on the IK goal

search for IKChainControl:Matrix3Controller in the maxscript help file for more options

01 January 2009, 03:15 PM
Thanks a lot steev, it got me where i needed to go. Appreciated :)

CGTalk Moderation
01 January 2009, 03:15 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.