Skip to content

useConvexPolyhedron not working? #204

Answered by stockhuman
danielacorner asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Daniel,

The ability to pass THREE. Geometry directly is no longer supported as of 0.6, check out the convex polyhedron example to see how it's used.

If you dig into the source, you'll see that use-cannon is trying to map vertex arrays, but none were supplied.

Good luck!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@drcmda
Comment options

@danielacorner
Comment options

Answer selected by stockhuman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants