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

rigidBody2D.mass not changing when I alter it in C#

$
0
0
Hi All, float fSomeRandomFloat = 1.23F; rigidBody2D.mass = fSomeRandomFloat; ... does not work in C#. I cannot find another way to do this. Please skip this question if you only want to say, "just set it in the editor", because I need to change the mass at run time. I noticed in other threads that there was a problem but it says it was fixed in 4.3 however I am running 4.3.4 and it works on the Windows side but not on the Mac side. Is there a fix for this? Any help is appreciated!

Viewing all articles
Browse latest Browse all 157

Trending Articles



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