bevy_rapier icon indicating copy to clipboard operation
bevy_rapier copied to clipboard

Update IslandsManager after deleting rigid bodies

Open GrantMoyer opened this issue 2 years ago • 0 comments

Without updating the IslandsManager after removing rigid bodies, later systems may try to access the removed bodies. For example, calling IslandsManager::active_kinematic_bodies() sometimes returns invalid handles if cleanup_removed_rigid_bodies() is not called after rigid bodies are removed. Potentially fixes issue #285.

GrantMoyer avatar Dec 17 '23 02:12 GrantMoyer