- Home /
Mass affecting velocity
I have vehicles driving around right now with really low mass (less than 10). I need to up this to realistically represent vehicles but when I up the mass too much, the vehicles start to slow down or don't move altogether. Is there something I can do to take into account for mass so it travels and the correct velocity with say 1000 for mass?
Answer by Eric5h5 · Mar 02, 2011 at 06:37 PM
Mass is relative, so a value of less than 10 isn't necessarily low. A mass of 1 would realistically represent a vehicle as long as everything else is scaled appropriately.
True. And I believe I even read somewhere that it's not advisable to work with masses higher then 10 to avoid lowering performance. Not sure about this though.
Not about performance, but rather stability, however I think that has changed since Unity 3 removed the upper limit (which used to be 10000? I think). In any case it doesn't matter what the mass is as long as everything else is scaled properly.
Ok, good to know. Still, no need to ever use a mass higher then 100 imo.
Answer by Joshua · Mar 02, 2011 at 05:59 PM
Velocity has nothing to do with mass. What lowers the velocity, drag, has however. I'm assuming you're using a rigidbody to tweak the mass, also tweak the drag to get a realistic effect.
Could reducing friction on the wheel colliders also help with this?
Well.. as far as I know friction is not a by unity defined variable, so I don't know what it does. It's probably something set up by a script you got from somewhere. But if it does what it says then yes, that would also work I guess.