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. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

Are there only 4 attributes in Rigid Body 2D?

Discussion in '2D' started by johnwoodul, Sep 13, 2018.

  1. johnwoodul

    johnwoodul

    Joined:
    Sep 13, 2018
    Posts:
    1
    Hi All,
    There are Mass, Friction, Angular Friction, Gravity in my Unity Rigid Body 2D. But I also need a Linear Drag and others in Rigid Body 2D. Is it a version problem or other kind of problem?
    Thanks
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,399
    There was never a version of Unity that had those 4 things. (Specifically, friction is part of a physics material, not a rigidbody, and there's no angular friction anywhere.) You can see in the docs what Rigidbody2D has.

    --Eric
     
    Joe-Censored likes this.
  3. Deeeds

    Deeeds

    Joined:
    Mar 15, 2018
    Posts:
    739
    Unity uses slightly different terminology to the official Box2D naming of some things. This will cause some confusion if you're coming from a pure Box2D environment, or any other 2D use of physics, where naming might be different, also.

    You'll have to go through and read the docs and do a mental translation of terms from whatever you're used to thinking of as names to what it is in Unity.
     
  4. Deeeds

    Deeeds

    Joined:
    Mar 15, 2018
    Posts:
    739
    eg.

    Angular Friction == Angular Drag in Unity.

    Linear Drag is there, built into RigidBody2D

    But you can also add a world based joint for increased control over this, in ways that aren't linear. Which is super cool for slowing things down.

    This is what you should be seeing in the Inspector.

    Screen Shot 2018-09-14 at 1.19.56 pm.png