Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question make an object be able to collide but not to fall (2d)?

Discussion in 'Scripting' started by Extra_, May 23, 2023.

  1. Extra_

    Extra_

    Joined:
    Nov 26, 2022
    Posts:
    12
    I tried to make a kinemtic rb but it doesn't work...
     
  2. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    10,468
    Sorry to hear that. Unfortunately with no information that's about all I can offer.

    If you want to know what the different body-types of Rigidbody2D do then you should follow some tutorials. The forum isn't the best place to do that.
     
  3. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,563
    This is not a useful way to describe a problem. Try this instead:

    How to report your problem productively in the Unity3D forums:

    http://plbm.com/?p=220

    This is the bare minimum of information to report:

    - what you want
    - what you tried
    - what you expected to happen
    - what actually happened, log output, variable values, and especially any errors you see
    - links to documentation you used to cross-check your work (CRITICAL!!!)

    You may edit your post above.

    If you post a code snippet, ALWAYS USE CODE TAGS:

    How to use code tags: https://forum.unity.com/threads/using-code-tags-properly.143875/

    Perhaps set the gravity scaling to zero?