CodePlexProject Hosting for Open Source Software
Why I couldn't set the mass property on body anymore?
I found out that my object's mass is huge, I need to lower it down but when I do this:
box.Mass = 5;
I got an error says that the Mass property is read-only.
So how should I set my own mass?
If im correct the mass is being calculated automatically.You can also adjust the mass using the function SetMassData of the body. Best way to adjust the mass is through the fixture creation, you can give the density of the fixture with it. Give a higher
number to up the mass of the body.
Sorry if im not really correct here, been using it only for a week now so :P.
Thank You :D
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.