0
$\begingroup$

This is what I have done to target a bone to SuzanneActually 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.

$\endgroup$

1 Answer 1

3
$\begingroup$

Use the "run armature" actuator. you can even set it to enable/disable individual constraints like the one in your example!

enter image description here

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

$\endgroup$
4
  • $\begingroup$ I tried it before but it didn't work for me. I don't know where I am going wrong. $\endgroup$
    – simon143
    Sep 19, 2015 at 8:39
  • $\begingroup$ may you upload a .blend or a screenshot of your logic? $\endgroup$
    – Scalia
    Sep 21, 2015 at 15:04
  • $\begingroup$ I have posted my image above. can you send me your blend file. $\endgroup$
    – simon143
    Sep 22, 2015 at 15:50
  • $\begingroup$ adding blend to post $\endgroup$
    – Scalia
    Sep 22, 2015 at 17:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.