- Home /
What unit is Rigidbody Mass based on?
Is there specific unity mass is measured in in unity? Or is it simply relative to other objects in the scene?
I am creating a top-down car game, and I want to know what I should set the mass of my car to.
Thanks!
Answer by NinjaSquirrel · Oct 17, 2011 at 09:02 PM
The weight of the object in kilograms. It is recommended to make masses not more or less than 100 times that of other Rigidbodies.
http://unity3d.com/support/documentation/Components/class-Rigidbody.html
Technically, it's dimensionless- you just scale everything to fit within those constraints! For example, if I was to make a car game, I wouldn't have the cars weigh any more than about 30 (since the physics engine gets a bit unstable at large numbers), then have everything else be accordingly downscaled.
Answer by OutCyder · Mar 28, 2013 at 02:40 AM
I am not really sure about this, but I think that 1 unit is 1000 kilos. Why? I was trying to make a car and there was NO WAY to set up good joints, everything was falling apart and all the behaviour wasn't really good. So I had the illumination, I tried it and it works. If you wonder why your physics buildings fall apart or have weak joints, it's because of this.
Unity physics engine uses the metric system. I don't wanna be in the shoes of the guy who can't do math using meters ins$$anonymous$$d of feet and kilograms ins$$anonymous$$d of pounds. Sorry pal :/
A kilo(gram) is metric... but Syclamoth has already given the correct answer - it's dimensionless. But, if you assume Unity's units of length to be metres, then its units of mass are kilograms.
Answer by DRAmos97 · Dec 04, 2016 at 08:29 PM
Yeah, it's in kilograms. https://docs.unity3d.com/Manual/class-Rigidbody.html
Your answer
Follow this Question
Related Questions
Stop Rigidbody From Being Pushed By Another But Still Move With Physics 2 Answers
Rigidbody NavMeshAgent Causing Crazy Collisions with Player. 0 Answers
How to do "cosmetic" physics with joints to produce secondary character motion? 1 Answer
Composite Rigidbodies - Mass Distribution 0 Answers
What should my gravity be if I've modeled in feet and inches in Max? 3 Answers