转向助力系统

概述

助力转向控制器用于模拟转向助力对方向盘力度的影响。

它仅影响力回馈的强度。

此控制器已经被设置为支持随车速变化的力回馈。


文件信息

文件名 powerSteering.lua
路径 /lua/vehicle/controller/powerSteering.lua
类型 辅助功能
使用方式 单一对象

JBeam 属性

number
type
1
default
高速时的转向助力强度
数值越低,传递到方向盘的力越小。1表示转向基本无助力,0表示转向没有力回馈。
number
type
1
default
低速时的转向助力强度
数值越低,传递到方向盘的力越小。1表示转向基本无助力,0表示转向没有力回馈。
number
type
0
default
使用strengthSlow参数时的最高车速(单位:m/s)
低于该车速时,控制器将使用strengthSlow中的参数。在该车速与speedFast之间,控制器将会在strengthSlow与strengthFast之间进行线性插值。
number
type
0
default
使用strengthFast参数时的最低车速(单位:m/s)
高于该车速时,控制器将使用strengthFast中的参数。在speedSlow与该车速之间,控制器将会在strengthSlow与strengthFast之间进行线性插值。
number
type
-0.2
default
助力强度的恒定修正系数

负值表示在完成高速/低速助力强度计算之后,助力转向系统会减去一个固定数值的力。

游戏会将最小值强制限制为0。


示例用法


"controller": [
    ["fileName"],
    ["powerSteering", {"strengthFast":1, "strengthSlow": 0.10, "speedSlow": 2, "speedFast": 20, "constantOffset":-0.05}],
],
上一次修订: 六月 2, 2026

还有其他问题?

加入我们的 Discord 服务器
Our documentation is currently incomplete and undergoing active development. If you have any questions or feedback, please visit this forum thread.