Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Do not apply physic if it is colliding with the floor

Discussion in 'Physics' started by Givago, Apr 18, 2017.

  1. Givago

    Givago

    Joined:
    Oct 22, 2015
    Posts:
    27
    Good Night

    I used rigdbody 2D and BoxCollider 2D,
    But I didn't want it the object fall in edge
    Ex:


    I wanted it to stay that way.

    EX:


    How do it?
     
  2. Antony-Blackett

    Antony-Blackett

    Joined:
    Feb 15, 2011
    Posts:
    1,778