World:setStepCount

Edit

Sets the step count of the World. The step count influences how many steps are taken during a call to World:update. A higher number of steps will be slower, but more accurate. The default step count is 20.

World:setStepCount(steps)

Arguments

NameTypeDescription
stepsnumber The new step count.

Returns

Nothing

See also