Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Prevent clipping during animation

Discussion in 'Animation' started by spylefkaditis, Jul 11, 2020.

  1. spylefkaditis


    Jul 3, 2016
    Another day struggling with animations in Unity. I can't believe how very few resources I can find to help achieve such a basic task as climbing an object. Not from the perspective of detecting a ledge, but what to do after, in order to get a character to move to the desired position.

    Anyway. I settled on using root motion to lift the character into position, but he's clipping into the wall as he pulls himself up. I can set an offset before triggering the animation to force him into a position that will prevent the clipping but that doesn't seem very technical...more like guesswork.

    Is this how it's done? You apply magic values until it looks ok? How have other people tackled this?