chandlerprall / GoblinPhysics

Collision Detection & Response in JavaScript
http://www.goblinphysics.com
Other
147 stars 18 forks source link

Find better way of determining contact point after EPA #11

Open chandlerprall opened 9 years ago

chandlerprall commented 9 years ago

Avoid the expensive call to Goblin.GeometryMethods.findBarycentricCoordinates

When findBarycentricCoordinates is no longer needed the vertices on Goblin.GjkEpa2.Face can be actual Vector3 and not SupportPoint which will also make ConvexShape generation happier.

chandlerprall commented 9 years ago

MeshShape will benefit in the same way as ConvexShape