Closed PleaseJustWork777 closed 1 month ago
I get the same issue with the Cross Platform Determinism build too.
Grateful for any assistance
Will check and let you know. Thanks for reporting it.
Investigated and interestingly enough what happens is it's possible aparently for an object to both enter and exit and event same time and both exit and enter an event same time. In this case they should probably cancel out.
Indeed, canceling the event in this case fixes it! Will put a PR.
Describe the bug
Moving a CharacterBody2D with child Area2D using move_and_collide() constantly throws the following error from rapier:
E 0:00:00:0664 godot_rapier::bodies::rapier_area::RapierArea::on_body_enter: Body is already being monitored <C++ Source> src\bodies\rapier_area.rs:199 @ godot_rapier::bodies::rapier_area::RapierArea::on_body_enter()
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Error about Body already being monitored not constantly thrown
Environment:
*rapier error repro.zip
Please attach a zip with project where issue occurs.