Fix issue where set_enabled had no effect
This PR fixes an issue where calling `set_enabled(false)` had no effect. There may be a more appropriate solution to this issue, and feedback from maintainers is needed.
Related issues:
1. [dimforge/bevy_rapier#680](https://github.com/dimforge/bevy_rapier/pull/680)
2. https://github.com/dimforge/bevy_rapier/pull/678#issuecomment-3397808035
3. [dimforge/rapier.js#344](https://github.com/dimforge/rapier.js/issues/344)
Reproduction:
Steps to reproduce the issue are clearly described in the [Update to Bevy 0.17.2 PR](https://github.com/dimforge/bevy_rapier/pull/680).
合并状态:未合并 4 条评论