Version: 2017.3

WheelCollider.suspensionDistance

Cambiar al Manual
public float suspensionDistance ;

Descripción

La distancia de extensión máxima de la suspensión de la rueda, medida desde el espacio local.

Suspension always extends downwards the local y-axis. Suspension travel will be scaled by the transform's scale. The value suspensionDistance is the distance that the wheel travels as it moves along the local up vector of the rigid body from the coordinate of the wheel center at maximum spring elongation to the coordinateof the wheel center at maximum spring compression. It is expressed in metres. The range of suspension travel will be scaled by the transform's scale.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961