World
A world is an object that contains all bodies and joints.
Constructors
love.physics.newWorld | Creates a new World. |
Functions
Object:type | Gets the type of the object as a string. |
Object:typeOf | Checks whether an object is of a certain type. |
World:getBodyCount | Returns the number of bodies in the world. |
World:getCallbacks | Returns functions for the callbacks during the world update. |
World:getGravity | Get the gravity of the world. |
World:getJointCount | Returns the number of joints in the world. |
World:isAllowSleep | Get the sleep behaviour of the world. |
World:setAllowSleep | Set the sleep behaviour of the world. |
World:setCallbacks | Sets functions to be called when shapes collide. |
World:setGravity | Set the gravity of the world. |
World:setMeter | Set the scale of the world. |
World:update | Update the state of the world. |
Supertypes
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info