forked from schteppe/cannon.js
-
Notifications
You must be signed in to change notification settings - Fork 154
Why do I use rigid bodies created with Cylinder and Sphere, where Cylinder does not participate in collisions, and rigid bodies created with two Spheres are normal #196
Unanswered
3261564019
asked this question in
Q&A
a.mp4
b.mp4
All reactions
Replies: 1 comment 3 replies
It's hard to say for sure without seeing some code / a codesandbox, but one possible explanation is you're using shapes that don't support collision with each other.
If you're using a Trimesh shape for your environment, your issue would be using unsupported collision pairs. In cannon Cylinder and Trimesh shapes can't collide with each other at present - the collision logic for that pair hasn't been implemented.
You can find a table showing the supported collision shapes here: https://github.com/schteppe/cannon.js
All reactions
3 replies
I've added that table to the docs website now: #197
All reactions
Very useful Thank you.
All reactions
-
🎉 1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment