JV-ODE Physics Thread 3

Blitz3D Forums/Blitz3D Userlibs/JV-ODE Physics Thread 3

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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.