Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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.
Required, but never shown