-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Rigidbody collision against CSG Primitive doesn't always trigger on_body_entered signal #75018
Comments
I can confirm this on 4.0.stable (Linux).
|
Hello, I noticed there is also a problem with RigidBody3Ds colliding with CharacterBody3Ds that might be related! |
can confirm this, it happened to me, rigidbodies are completely unreliable right now |
Sorry, I introduced this CCD bug in 4.0-stable and it remained in 4.0.1. It's fixed by #74861 which is in 4.0.2-rc1. |
I just tested it in Godot 4.0.2 and the problem I described is still there, sadly :( |
could you please upload a test project so they can see it in action? |
OK, here it is! |
I still have this problem in 4.0.2 edit: it was the Area3D not triggering the on_body_entered signal sometimes |
Godot version
3.5 and 4
System information
Windows 10
Issue description
I had this issue in Godot 3.5 ( default physics engine ) that my ball ( Rigidbody, sphere collider ) wouldn't reliably report a contact (body_entered signal) with the CSGTorus Basketball hoop rim. I thought this was down to the torus.
Now I just went on a bug hunt with somebody on the Discord server and we figured out that he didn't get reliable contact reports in a completely different project ( Godot 4 ) between a Rigidbody with a capsule collider and a CSGBox.
In both cases neither our Rigidbodies, their collision shapes or the CSG Primitives were scaled via the transform. We observed the collisions happening, the Rigidbodies bouncing off when there was no signal. Most of the time the signal triggered correctly, though. Obviously, signals and reported contacts were setup correctly since we received signals.
Since CSG primitives are only supposed to be used in prototyping anyway i assume the priority to fix this wouldn't be very high. But it should be mentioned in the docs at least.
Steps to reproduce
run the scene, hold down left mouse button and shoot to the ground with this angle
test in both StaticBody3D and CSGBox
first person view
Minimal reproduction project
The reproduction project is for Godot 4!
csg-collider.zip
The text was updated successfully, but these errors were encountered: