How can I enable or disable bone constraint in blender game engine Actually I want my bone to target an object when it comes near so I want the tracking constraint to be enabled when the object comes near. And I want to keep it disabled rest of the time.
Use the "run armature" actuator. you can even set it to enable/disable individual constraints like the one in your example!



heres a simple setup with a  cobra lashing out at a cube.