Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Setting IK Chain target at runtime?

Discussion in 'Animation' started by MELTPACK, Aug 9, 2021.

  1. MELTPACK

    MELTPACK

    Joined:
    Apr 7, 2017
    Posts:
    151
    Hey all,

    I've got this enemy and I want his hand to attach to a weapon when he picks it up. For some reason though, setting the target at runtime using c# doesn't seem to make it update. But if I set the target BEFORE entering playmode, it works fine. What could be happening?