RobustToolbox icon indicating copy to clipboard operation
RobustToolbox copied to clipboard

Spamming wake / sleep on physics entities

Open metalgearsloth opened this issue 1 year ago • 0 comments

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.

metalgearsloth avatar Dec 04 '23 03:12 metalgearsloth