RobustToolbox
RobustToolbox copied to clipboard
Spamming wake / sleep on physics entities
You can run into event ordering issues.
Ideally we either:
- Get a commandbuffer for events (massive work).
- CollisionWake hooks in directly after the events for awake / runs in an update loop on all awake physics bodies (the latter is probably more stable and the former is probably more performant).
- Add more debug asserts and have content deal with it.