Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


normalVelocity

Relative normal velocity pre-solve. Used for hit events. If the normal impulse is zero then there was no hit. Negative means shapes are approaching.
Read time 1 minuteLast updated 20 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public float normalVelocity { get; }