You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Physics Library > setIterations

19.9.27 setIterations

self = physics.Space:setIterations(iters)

Parameter

Type

Description

self

in physics.Space

The input simulation Space

iters

in number

Number of iterations to refine the accuracy of the solver. De- fault is 10

self

out physics.Space

The input Space is returned as the output

This value allows the programmer to control the accuracy of the solver. Default is 10.

Introduced in platform.apiLevel = '2.0'