Notifications
Clear all

[Closed] How to make a simple IK chain with MaxScript ?

Hi,

I’m doing a “Make IK/FK Switch” script, and it works fine, except that I can’t make an IK chain with MaxScript.

( Since the IK is a macro and it does not seems that there is any way to create an IK with MaxScript )

I’m currently calling the macro script that creates IKs, but the user have to pick the end joint, and I want the entire script to be really user friendly.

If there is no way of doing it with MaxScript then
(
_____Is there a way to “feed” the picknode directly with MaxScript ?
)

Thanks in advance !

2 Replies

bn1 = $bone01
bn2 = $bone03

if bn1 and bn2 are the start and ends of the bone chain to which you wish to apply a HI IK chain, then

 iksys.ikchain bn1 bn2 "IKHiSolver"

should create the chain.

OMG

So simple ! Thanks !

I missinetpreted the MaxScript user reference saying that you cannot create a IK Struct … 🙁

THANKS AGAIN