JV-ODE Physics Wrapper

Blitz3D Forums/Blitz3D Userlibs/JV-ODE Physics Wrapper

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.

@PsychicParrot: In the car demo the mass settings are like this...

dMassSetSphere(mass,1,0.7)
Here the '1' is the density of the sphere and the 0.7 is the radius of the sphere (same as the radius of the geom).

dMassSetSphereTotal(mass,WMass,0.7)
Here the 'WMass' is the total mass of the sphere and again the 0.7 is the total radius.

The only things you would need to adjust are the density, radius and total mass. If the sphere shoots off when hitting the TriMesh, either you have the mass or density set too high or too low. Don't forget the total mass is relative to the mass of all other objects and also relative to the gravity and world settings (including the TriMesh). I'll try and make a demo to explain this better over the coming days :)


I'm building the new update zip now so it should be ready in an hour or so, I'll post here later when it's released... :)