文档

Unity Engine

Unity Engine

otherBodyLinearVelocity

Linear velocity of the second Rigidbody or the ArticulationBody in the pair at the moment of collision.
阅读时间1 分钟最后更新于 6 小时前

Definition

public Vector3 otherBodyLinearVelocity { get; }

Remarks

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