Rigidbody2D.SlideResults.remainingVelocity

public Vector2 remainingVelocity;

Description

Returns the remaining velocity that couldn't be used when performing a Rigidbody2D.Slide.

There are a few reasons why all the specified velocity may not be used:

Additional resources: Rigidbody2D.Slide and SlideMovement.


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