Hi,
I'm playing with jinngine svn revision 182, on windows.
Context & Scenario:
I create a convex hull of a centered cube of size 2.
To reproduce the defect check the attached file TestCase.
What's happening:
* When trying to draw the hull, I call ConvexHull.getFaces() and get only
Vector3(Nan,Nan,Nan). I would have expected real coordinate.
* I get a mass == 0., and I would have expected a mass > 0.
First analysis:
The issue comes from the mass calculation, that computes totalmass=0
Then things goes wrong computing the center of mass (Nan,Nan,Nan)
(MassProperties.java:30)
Finally the hull vertex are translated by (Nan,Nan,Nan) which clears every
coordinates.
Sorry, I can't analyze further because but I don't understand the algorithm...
Thanks, and good luck