Hi, when I add a rigidbody component to a object I can edit the mass in the inspector and the mass units are in kilograms (but of course everybody knows that). When I attach a script you can supposibly change the mass in the script with rigidbody.mass . I thought this value is also in kilograms but when I say make the value 800kg the mass of the car in the inspector go’s to about 1e-07. Even if I reduse the value in the script to 0.1 or even smaller and bigger it gives me the same result. So how can edit the mass of the rigidbody with a script, or how do I use this rigidbody.mass properly.
Thank you for your time
–André
Can a moderator please approve this question, it is one of the core element's in my car physics.
– Rad-CodersCan you post the script changing the rigidbody's mass? This would be helpful.
– RLin