Home Website Youtube GitHub

[Solved] EPIC_Hydraulic_01 question

HAPPY NEW YEAR!!!

I have a spaceship I am rigging for a Star Fighter type game. The landing gears are these hydrawulic legs that descend from the body in a straight line. I used the EPIC_Hydraulic_01 component which works very nicely.

That said, I can’t seem to get an IK to work with this component. I am getting a cycleCheck warning. We want the ship to be able to touch down and then settle onto the legs with the leg foot IKed to the ground.
Any advice?

Solution was super simple. Sometimes I just need to post a question to the world wide web for my brain to start churning. I think in my initial testing I parented things in the wrong order and that’s why I was getting the cycle warning.

def rig_leg_ik(self, side):
    jnts = [f'leg_{side}0_section_01_jnt', f'leg_{side}0_section_02_jnt']
    legTip = pm.PyNode(f'leg_{side}0_tip_ctl')

    name = f'{side}LegIkHandle'
    primitive.addIkHandle(legTip, name, jnts, solver="ikSCsolver", poleV=None)
3 Likes