Version: 2017.3
public Vector2 velocity ;

描述

刚体的线速度。

The velocity is specified as a vector with components in the X and Y directions (there is no Z direction in 2D physics). The value is not usually set directly but rather by using forces. The velocity can also gradually decay due to the effect of drag if this is enabled.

另请参阅:AddForcedragangularVelocityRigidbody.velocity