Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

Physics2D.positionIterations

static var positionIterations: int;
static int positionIterations;
static positionIterations as 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.