destroy()
Clears all bodies from the simulation and unlinks World from Game. Should only be called on game shutdown. Call clear
on a State change.
- Source code: physics/p2/World.js (Line 874)
destroy()
Clears all bodies from the simulation and unlinks World from Game. Should only be called on game shutdown. Call clear
on a State change.
Please login to continue.