Skip to main content
Up and Coming
November 6, 2013

Hydra+Mecanim IK= not colliding?

So I found out that Mecanim has some built-in Inverse Kinematic functions which are awesome.

I have some cubes that mimic the position of the hydra and I simply set the IK Goal to be where my cube is.

However my cubes can go through objects/walls and the avatar will reach towards them, however the avatar's hands will ALSO go through the walls! :( Is there a way to prevent the avatar from clipping through objects?

Any help is appreciated! :)
    This topic has been closed for replies.

    2 replies

    Up and Coming
    November 8, 2013
    Hey DarkJames, what you need to do is make the Hydra's control an object, then have another object that has colliders on it an a joint that is locked to the object controlled by the Hydra, then use this object as your IK Goal as it will collide with the environment.
    DarkJamesAuthor
    Up and Coming
    November 12, 2013
    Okay cool, which type of joint would you recommend? I tried a few but they don't seem to be working (may have to tweak some more numbers)
    Seeing is believing