Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Physics2D.positionIterations

public static var positionIterations: int;

Description

The number of iterations of the physics solver when considering objects' positions.

A higher number of interations will improve accuracy at the expense of processing overhead.

See Also: velocityIterations.