I’m using the latest version of klepto’s extended minib3d and I’ve noticed something a little curious when using physics. I edited the physic example to load a mesh instead of making a crate when you press enter, however when I change the type of Newton mesh it uses something goes a bit weird.
If I create the physic object with PHYS_MESHCONVEX_HULL, the collisions work fine however the original mesh is flipped upside down for some reason.
If I create the physic object with PHYS_MESHCOMPLEX_HULL instead, the object stays upright, but doesn’t move from the origin and doesn’t react to physics properly.
I’m relatively new to minib3d so is it possibly that I am just forgetting to do something? Any idea why I’d be getting these errors?
|