Difference between revisions of "World:update"
(Add iterations parameters) |
(0.11.0 -> 11.0) |
||
Line 7: | Line 7: | ||
=== Arguments === | === Arguments === | ||
{{param|number|dt|The time (in seconds) to advance the physics simulation.}} | {{param|number|dt|The time (in seconds) to advance the physics simulation.}} | ||
− | {{New feature| | + | {{New feature|11.0| |
{{param|number|velocityiterations (8)|The maximum number of steps used to determine the new velocities when resolving a collision.}} | {{param|number|velocityiterations (8)|The maximum number of steps used to determine the new velocities when resolving a collision.}} | ||
{{param|number|positioniterations (3)|The maximum number of steps used to determine the new positions when resolving a collision.}} | {{param|number|positioniterations (3)|The maximum number of steps used to determine the new positions when resolving a collision.}} |
Latest revision as of 14:15, 22 December 2018
Update the state of the world.
Function
Synopsis
World:update( dt, velocityiterations, positioniterations )
Arguments
number dt
- The time (in seconds) to advance the physics simulation.
Available since LÖVE 11.0
Returns
Nothing.
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