getContactEvents

Get contact events from the last simulation step.

Call this after World.step() to get information about:

  • New contacts (beginEvents)

  • Ended contacts (endEvents)

  • High-speed impacts (hitEvents)

Return

The contact events from the last step