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. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

What units is PhysicsMass.mass?

Discussion in 'DOTS Physics' started by RecursiveEclipse, Mar 19, 2020.

  1. RecursiveEclipse

    RecursiveEclipse

    Joined:
    Sep 6, 2018
    Posts:
    298
    Is the mass of a PhyiscsBody/Mass in kg? Apparently until recently in old unity Physics, mass was an arbitrary unit. So if wanted my object to behave correctly for 100lb, would I just convert to kg, giving me ~45 to put into PhysicsBody?
     
  2. Adam-Mechtley

    Adam-Mechtley

    Unity Technologies

    Joined:
    Feb 5, 2007
    Posts:
    290
    Just as with classic Unity physics:
    • The units are arbitrary and could be whatever you want (if, for example, your simulation was intended to appear as though it were at a very large or very small scale)
    • With all other defaults for gravity and so on you can treat them as kilograms by default