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

can you stop an animation when colliders make contact with certain object?

Discussion in 'Animation' started by prodigal_prodigy21, Feb 21, 2019.

  1. prodigal_prodigy21

    prodigal_prodigy21

    Joined:
    Jan 9, 2017
    Posts:
    25
    so i have an object with two animation states. I have another object with no animations. I want to trigger an animation to blend from start pose to end pose but the object has to make contact and collide with the non animated object but the animation has to stop the moment the animated object makes contact with the non animated object.

    Two objects
    one with animations
    one without animations

    goal:
    stop animation on collision

    how can i do this?