-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Collision between CSGPolygon and ConcavePolygonShape not working #30442
Comments
I ran into this problem with a SphereShape. I have a RigidBody with a ConcavePolygonShape that collides with RayCasts and ConvexPolygonShapes, but not SphereShapes. The workaround was to create a convex collision sibling instead of a Trimesh collision sibling. |
Still happens in 3.2 |
Still valid in 3.2.4 beta4 |
I believe this is expected, as RigidBodies can't use trimesh collision shapes. See this warning for RigidBodies in Kinematic mode: godot/modules/bullet/rigid_body_bullet.cpp Lines 245 to 257 in 0c7c640
In the MRP, there's a node configuration warning appearing: Running the MRP won't print a warning message though, as the RigidBody isn't using Kinematic mode. We could print a warning message at run-time to complement this node configuration warning, but this may have a non-negligible performance cost. If checking turns out to be expensive, the check could be enabled in debug builds only. Therefore, I'll close this as a duplicate of #4159. |
Then the button that creates trimesh collision shapes should be disabled if there are RigidBodies in the current selection. At least, that's vaguely how I remember running into the issue 2 years ago |
Godot version:
3.1.1.stable
OS/device including version:
Windows 10. Geforce 970M
Issue description:
I have a RigidBody with ConcavePolygonShape for collision. I also have a CSGPolygon extruded along a path with collision activated. The RigidBody is able to collide with another StaticBody with a CubeShape but not with the CSGPolygon. Another RigidBody with a CapsuleShape is able to collide with the CSGPolygon.
Steps to reproduce:
CSGCollisionTest.zip
The text was updated successfully, but these errors were encountered: