返回介绍

WheelCollider.suspensionSpring 悬挂弹簧

发布于 2019-12-18 15:38:46 字数 2450 浏览 945 评论 0 收藏 0

JavaScript => public var suspensionSpring: JointSpring;
C# => public JointSpring suspensionSpring;

Description 描述

The parameters of wheel's suspension. The suspension attempts to reach a target position by applying a linear force and a damping force.

车轮悬挂的参数。通过应用线性力和阻尼力,悬挂试图达到目标位置。

The value suspensionSpring.spring describes the stiffness of the spring. It is expressed in Newtons per metre. The spring strength has a profound influence on handling by modulating the time it takes for the vehicle to respond to bumps in the road and on the amount of load experienced by the tire. Larger values make the suspension reach the target position faster but at the cost of increased load and handling variability. Smaller values provide a smoother but less responsive ride.

suspensionSpring.spring的值描述弹簧的刚度,单位是牛顿/米。弹簧强度对处理通过调节车辆在路面上的颠簸所需要的时间以及轮胎的负荷量有着深刻的影响。较大的值,使悬挂达到目标位置更快,弹簧反馈更强,越小的值越平衡,更少的弹簧反馈。

The value suspensionSpring.damper describes the rate at which the spring dissipates the energy stored in the spring. It is expressed in Newtons seconds per metre (equivalent to Newtons per unit speed). Larger values make the suspension reach the target position slower, while lower values make the car appear more bouncy. Vehicle suspensions typically have a response close to critical damping.

suspensionSpring.damper的值描述消耗储存在弹簧中能量是速率。单位是牛顿*米/秒,等于每单位速度牛顿。较大的值使悬挂更慢达到目标位置,较小的值使车辆使车辆更有弹性。车辆悬架通常已接近临界阻尼响应。

The rest coordinate of the wheel is specified by suspensionSpring.targetPosition. This value describes the rest coordinate of the wheel as a fraction in range (0, 1) along the suspensionDistance. Zero value maps to full extension along the suspension travel, while a value of one maps to fully compressed suspension. Default value is 0.5, which sets the rest coordinate of the wheel to the mid-point between the suspension at maximum elongation and maximum compression. Typical values would be in range (0.3, 0.7).

该车轮的静止坐标通过suspensionSpring.targetPosition指定。该值描述车轮的静止坐标作为沿suspensionDistance的系数,范围是0~1直接。0值影视完全伸展悬挂运动,1值表示完全压缩悬挂运动。默认为0.5,表示设置悬挂在车轮的静止坐标在最大伸展率和最大压缩率的中间。通常值的范围是0.3~0.7之间。

WheelCollider

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文