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.
1 Answer
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.
-
$\begingroup$ I tried it before but it didn't work for me. I don't know where I am going wrong. $\endgroup$– simon143Sep 19, 2015 at 8:39
-
$\begingroup$ may you upload a .blend or a screenshot of your logic? $\endgroup$– ScaliaSep 21, 2015 at 15:04
-
$\begingroup$ I have posted my image above. can you send me your blend file. $\endgroup$– simon143Sep 22, 2015 at 15:50
-