How can I set the mass of an ODE_mass object once created?
I use ...
dMassSetBox(obj\mass,obj\mat\density, obj\siz\x, obj\siz\y, obj\siz\z)
...When I create my box, but I want to be able to change it's weight. I've tried...
dMassAdjust(obj\mass, 999.0)
...and ...
dMassSetBoxTotal(obj\mass,999.0, obj\siz\x, obj\siz\y, obj\siz\z)
...but object mass remains unchanged.
I use ...
dMassSetBox(obj\mass,obj\mat\density, obj\siz\x, obj\siz\y, obj\siz\z)
...When I create my box, but I want to be able to change it's weight. I've tried...
dMassAdjust(obj\mass, 999.0)
...and ...
dMassSetBoxTotal(obj\mass,999.0, obj\siz\x, obj\siz\y, obj\siz\z)
...but object mass remains unchanged.