Category: 2D Game Physics (Pro)
FreePhysicsBody(body As Integer)
Void
Removes a body from its world and invalidates its handle.
Body handles contain a generation value, so a stale handle cannot accidentally control a later body that reuses the same storage slot.
Pro feature: compiling code that uses this function requires a license with the GamePhysics feature enabled.
FreePhysicsBody ball