how disable IK (in armature) in Python?

Hi
how disable IK (in armature) in Python?

i not mean decrease the force i mean cut at all , for not wasting FPS

:rolleyes:

not say that is not possible :ba:

Under class bge.types.BL_ArmatureConstraint there is a Command:

active
True if the constraint is active.

And it does not say read-only, so maybe you can deactivate an IK Constraint with it. Maybe. I haven’t tried it.

thanks now try

yes from 15 to 60 FPS , i guess work :smiley:

:wink:

PS:


for i in own.constraints:
    if "IK" in str(i) :
        i.active=False

also , you have to make it only one time (not all time that start one new loop)