Closed shokme closed 2 weeks ago
Describe the bug
This issue only occurs when using Rapier. If Debug > Visible Collision Shapes is not active, Rigidbody2D cannot detect body_entered().
Debug > Visible Collision Shapes
body_entered()
To Reproduce
Steps to reproduce the behavior:
Run the project with Debug > Visible Collision Shapes enabled.\ You will see "hit" in the console.
Then, disable Visible Collision Shapes.\ You will no longer see "hit" in the console.
Switch to the default engine and repeat these steps. It will work in both cases.
Expected behavior
It should function the same as when using the default engine.
Environment:
Example project(zip) collisiondetectionbug.zip
Describe the bug
This issue only occurs when using Rapier. If
Debug > Visible Collision Shapes
is not active, Rigidbody2D cannot detectbody_entered()
.To Reproduce
Steps to reproduce the behavior:
Run the project with Debug > Visible Collision Shapes enabled.\ You will see "hit" in the console.
Then, disable Visible Collision Shapes.\ You will no longer see "hit" in the console.
Switch to the default engine and repeat these steps. It will work in both cases.
Expected behavior
It should function the same as when using the default engine.
Environment:
Example project(zip) collisiondetectionbug.zip