World:update

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
number velocityiterations (8)
The maximum number of steps used to determine the new velocities when resolving a collision.
number positioniterations (3)
The maximum number of steps used to determine the new positions when resolving a collision.

Returns

Nothing.

See Also


Other Languages