Rigidbody2D.GetRelativePointVelocity

切换到手册
public Vector2 GetRelativePointVelocity (Vector2 relativePoint);

参数

relativePoint要计算其速度的本地空间点。

描述

点 /Point/(本地空间)处刚体的速度。

计算速度时,GetRelativePointVelocity 会考虑到刚体的 angularVelocity。