Rigidbody2D.SlideResults.iterationsUsed

public int iterationsUsed;

Description

Returns the number of iterations used when performing a Rigidbody2D.Slide.

This will never exceed the Rigidbody2D.SlideMovement.maxIterations.

Additional resources: Rigidbody2D.Slide and SlideMovement.


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