Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

Physics2D.positionIterations

public static int positionIterations;

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.

Did you find this page useful? Please give it a rating: