Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


otherBodyLinearVelocity

Linear velocity of the second Rigidbody or the ArticulationBody in the pair at the moment of collision.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public Vector3 otherBodyLinearVelocity { get; }

Remarks

Returns _zero if no Rigidbody or ArticulationBody is attached to the second shape in the pair.