Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Rigidbody going through floor

Discussion in 'Physics' started by drndfx, Nov 7, 2019.

  1. drndfx


    Jul 3, 2013
    In the attached image:

    The top box has an animation that goes up and down.
    The bottom rectangle has Rigidbody.

    As soon as the top box touches the bottom rectangle, the rectangle is going through the floor.

    How do I detect an object so the animation goes as far as touching the rectangle?

    Attached Files: