chandlerprall / GoblinPhysics

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

MeshShapes don't collide with other MeshShapes #45

Closed mbrazell closed 8 years ago

mbrazell commented 9 years ago

It appears that MeshShapes only respond to collision with simple shapes, such as boxes and spheres. I made a second statue in the mesh-shape-statue demo; I placed it above the first, and added mass to each, so that they would respond to gravity. The second (higher) mesh shape passes directly through the first with no reaction.

chandlerprall commented 9 years ago

This is a current limitation of the engine. MeshShape/MeshShape collisions are close to working but not quite there.

mbrazell commented 9 years ago

I've tested several javascript physics engines for 3D, and hope to be able to use Goblin when this issue is resolved! Thank you.

chandlerprall commented 9 years ago

The initial code for this is on the 0.9 branch if you want to take a look. I've also posted an example

mbrazell commented 9 years ago

Thank you! I will check it out.

On Tue, Jul 14, 2015 at 12:43 AM, Chandler notifications@github.com wrote:

The initial code for this is on the 0.9 branch if you want to take a look. I've also posted an example http://www.goblinphysics.com/examples/mesh-mesh.html

— Reply to this email directly or view it on GitHub https://github.com/chandlerprall/GoblinPhysics/issues/45#issuecomment-121131468 .