Quantcast
Channel: Questions in topic: "mass"
Viewing all articles
Browse latest Browse all 157

Editing mass of gameObject with slider GUI?

$
0
0
I am currently making a physics lab simulator. I want the user to be able to select the mass of a game object called "HangingMass" (in the Inspector) by the use of a GUI slider. The HangingMass gameObject has a rigidbody2d property attached to it. has How would I go about doing this? Please help!

Viewing all articles
Browse latest Browse all 157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>