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.velocityIterations

static var velocityIterations: int;
static int velocityIterations;
static velocityIterations as int

Description

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

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

See Also: positionIterations.