Adds given objects to the world.
Adds the given joints to the world.
Returns all bodies that exists in the world.
All bodies that exists in the world
Returns all joints that exists in the world.
All joints that exists in the world
Removes all objects from the world.
Removes all bodies from the world.
Removes all joints from the world.
All active bodies that exists in the world.
Returns the body with the given id if the body exists in the world.
The Body with the given id if the body exists in the world
Returns the joint with the given id if a joint exists in the world.
The joint with the given id if a joint exists in the world
All sleeping bodies that exists in the world.
All static bodies that exists in the world.
Returns true if the body with given id exists in the world.
True if the body with given id exists in the world
Returns true if the joint with the given id exists in the world.
True if the joint with the given id exists in the world
Unsubscribes the callback function from the given event name.
True if the event was successfully unsubscribed, otherwise false
Subscribes the callback function to the given event name.
The id of the event
Subscribes the callback function to the given event name for one time.
Removes the given bodies from the world.
Removes the given joints from the world.
Triggers all the callbacks subscribed to the given name.
Generated using TypeDoc
The world is container for bodies and joints.
Events: