Class DifferentialSettingsInterface

Properties

differentialRatio: number

Ratio between rotation speed of gear box and wheels.

Default Value

3.42
engineTorqueRatio: number

How much of the engines torque is applied to this differential:

  • 0: none
  • 1: full

Make sure the sum of all differentials is 1.

Default Value

1
leftRightSplit: number

Defines how the engine torque is split across the left and right wheel:

  • 0: left
  • 0.5: center
  • 1: right

Default Value

0.5
leftWheel: number

Index (in mWheels) that represents the left wheel of this differential (can be -1 to indicate no wheel).

Default Value

-1
limitedSlipRatio: number

Ratio max / min wheel speed. When this ratio is exceeded, all torque gets distributed to the slowest moving wheel. This allows implementing a limited slip differential. Set to Number.MAX_VALUE for an open differential. Value should be > 1.

Default Value

1.4
rightWheel: number

Same as leftWheel, but for the right one.

Default Value

-1