Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polyhedron Issue #71

Open
GoalieSave25 opened this issue Jan 21, 2017 · 0 comments
Open

Polyhedron Issue #71

GoalieSave25 opened this issue Jan 21, 2017 · 0 comments

Comments

@GoalieSave25
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant