Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


remainingVelocity

Returns the remaining velocity that couldn't be used when performing a Rigidbody2D.Slide.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public Vector2 remainingVelocity { readonly get; set; }

Remarks

There are a few reasons why all the specified velocity may not be used:
Additional Resources: Rigidbody2D.Slide and Rigidbody2D.SlideMovement.