Version: 2022.2

Rigidbody.maxLinearVelocity

切换到手册
public float maxLinearVelocity ;

描述

The maximum linear velocity of the rigidbody measured in meters per second.

The linear velocity of Rigidbody components is clamped to maxLinearVelocity to avoid numerical instability with fast moving bodies. The maxLinearVelocity is applied to the body before the simulation step. This means that after the simulation frame, the linear velocity might exceed the set maximum. You can override this value per Rigidbody.