CollisionEnded event not sent if collider is removed in the frame following the collision start #348
Labels
A-Collision
Relates to the broad phase, narrow phase, colliders, or other collision functionality
C-Bug
Something isn't working
This also leaves dead entries in the
CollidingEntities
set of the remaining collider.report_contacts
only sends events if theduring_previous_frame
flag is set on contactshttps://github.com/Jondolf/bevy_xpbd/blob/e9b98d05be9e14086a8b6182d1bb55376cc978e4/src/plugins/collision/contact_reporting.rs#L176-L177
But it looks like the flag is never set to true if one of the colliders is removed in the first frame after the collision
The text was updated successfully, but these errors were encountered: