GoblinPhysics icon indicating copy to clipboard operation
GoblinPhysics copied to clipboard

Polyhedron Issue

Open GoalieSave25 opened this issue 8 years ago • 0 comments

I'm a little new to 3d/physics, but I made a triangular prism and added it to the scene and the array of goblin objects with the exampleutils, everything works completely fine for an inconsistent amount of time then crashes, here's the dump:

Uncaught TypeError: Cannot read property 'silhouette' of undefined at Goblin.GjkEpa.Polyhedron.addVertex (goblin.js:1732) at Object.Goblin.GjkEpa.EPA (goblin.js:1686) at triangleConvex (goblin.js:7998) at meshConvex (goblin.js:8024) at Goblin.NarrowPhase.meshCollision (goblin.js:8045) at Goblin.NarrowPhase.getContact (goblin.js:8067) at Goblin.NarrowPhase.generateContacts (goblin.js:8114) at Goblin.World.step (goblin.js:8389)

Let me know if you need anything else.

GoalieSave25 avatar Jan 21 '17 00:01 GoalieSave25