FreePhysicsWorld
Category: 2D Game Physics (Pro)
Signature
FreePhysicsWorld(world As Integer)
Returns
Void
Description
Releases a physics world, every body in it, and its reusable broad-phase and collision storage.
Performance and behavior
All body handles belonging to the world become invalid.
Pro feature: compiling code that uses this function requires a license with the GamePhysics feature enabled.
Example
FreePhysicsWorld world