-
Hi, Currently, I want to define a box shape using triangle mesh. However, there are only five faces are selected without the bottom one. Even the simple box shape collision failed colliding with such mesh shape. Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
vreutskyy
May 22, 2024
Replies: 1 comment 7 replies
-
Hi @yananZZZZ |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @yananZZZZ
I made more testing and it seems this particular case isn't related to SDF. SDF isn't used for TriangleMesh-Box collision.
The problem is that in PhysX all meshes are single-sided, it means to collide properly your 5-faces cube should have 5 more faces defining its interior. It should work even if these inner faces are coplanar with their outer counterparts and the walls thickness is 0.