Skip to content
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

signal body_entered works only with Debug> Visible Collision Shapes #298

Closed
shokme opened this issue Nov 2, 2024 · 0 comments · Fixed by #299
Closed

signal body_entered works only with Debug> Visible Collision Shapes #298

shokme opened this issue Nov 2, 2024 · 0 comments · Fixed by #299
Labels
bug Something isn't working

Comments

@shokme
Copy link

shokme commented Nov 2, 2024

Describe the bug

This issue only occurs when using Rapier. If Debug > Visible Collision Shapes is not active, Rigidbody2D cannot detect 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:

  • OS: Windows
  • Version: latest
  • Godot Version: v4.3
  • Type: simd single 2d (Fast Version)

Example project(zip)
collisiondetectionbug.zip

@shokme shokme added the bug Something isn't working label Nov 2, 2024
@Ughuuu Ughuuu closed this as completed in 69762e6 Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant