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

RigidBody2D Contact Monitoring #7642

Closed
HPCR-SD opened this issue Jul 11, 2023 · 3 comments
Closed

RigidBody2D Contact Monitoring #7642

HPCR-SD opened this issue Jul 11, 2023 · 3 comments
Labels
area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository bug

Comments

@HPCR-SD
Copy link

HPCR-SD commented Jul 11, 2023

Godot 4.1

Contact Monitoring for RigidBody2D states "If true, the RigidBody2D will emit signals when it collides with another RigidBody2D" but this isn't the only truth here. It will emit signals when colliding with any other PhysicsBody2D, assuming the layer and masks are setup correctly of course.

https://docs.godotengine.org/en/4.1/classes/class_rigidbody2d.html#class-rigidbody2d-property-contact-monitor

This would also need to be updated for as many previous versions this is incorrect for, or this is a bug and needs to be put in for the engine itself, but otherwise body_entered signals don't trigger for RigidBody2D.

@HPCR-SD HPCR-SD added the bug label Jul 11, 2023
@HPCR-SD
Copy link
Author

HPCR-SD commented Jul 11, 2023

I'm sure this also may apply to RigidBody3D of course too.

@AThousandShips
Copy link
Member

AThousandShips commented Jul 12, 2023

Done in godotengine/godot#79250, will be included in 4.1.1 (online documentation will be updated in the next sync)

@AThousandShips AThousandShips added the area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository label Jul 12, 2023
@HPCR-SD
Copy link
Author

HPCR-SD commented Jul 12, 2023

Ahhh thank you for matching those up so we know! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository bug
Projects
None yet
Development

No branches or pull requests

2 participants