Hey all , i search about few days , as the Subject says , i want to Change the Mass of an Object with a GUI Slider , but i donno how ! i watch the Tutorials and see some samples but i couldn't get it to work !
ok let me explain , i have a tank which has 2 scripts (2 C# Classes that 1st one is using (calling) the second one Codes) and i attached a "RigidBody" Component to the TANK
the Mass of The Tank is set to "50000" , the thing i want is to Change the Value of the mass in runtime with GUISlider and i want the values to Work in
[0 , 100000] range
Could anyOne please help me ?
am in hurry !
