Talos docs

VehicleDrift

Since 0.6

Arcade drift: with this block, holding the handbrake input while steering above minSpeed drops the rear lateral grip and a yaw assist holds a controllable slide angle that steering modulates; releasing pays a boost proportional to the drift's duration.

Plain text

The handbrake input is then the drift button and applies no brake torque. Absent: no drift, and the vehicle behaves exactly as without the feature.

Fields

FieldTypeRequiredDefaultAllowed valuesDescription
enabledbooleannotruefalse switches the drift off while keeping the block (a preset's drift can be disabled by a scene). Defaults to true.
minSpeednumberno8Forward speed in METRES PER SECOND needed to start a drift, greater than zero; the drift ends below 60% of it. Defaults to 8.
minSteernumberno0How far the steering must be turned to start a drift, 0..1. Its sign sets the drift direction. Defaults to 0.25.
rearGripnumberno0Rear lateral grip multiplier at full drift, 0..1. 1 keeps full grip (no slide); lower lets the tail swing out. Defaults to 0.5.
gripRampTimenumberno0Seconds the rear grip takes to fall to rearGrip after the drift starts, and to recover after it ends. Smoothstep. 0 is instant. Defaults to 0.25.
slideAnglenumberno0The slide angle in RADIANS the yaw assist holds at neutral steering: the angle between where the vehicle points and where it travels. Greater than zero. Defaults to 0.5.
steerAngleRangenumberno0How much steering changes the held angle, 0..1: steering into the turn raises it by up to this fraction, counter-steering lowers it by the same. Defaults to 0.5.
yawAssistnumberno14Stiffness of the yaw torque that pulls the slide angle to its target, in 1/s² (torque per unit of yaw inertia per radian of error), 0 or more. 0 is no assist. Defaults to 14.
yawDampingnumberno5Damping of that torque against the angle's rate of change, in 1/s, 0 or more. Defaults to 5.
chargeMinAnglenumberno0The slide angle in RADIANS below which a drift charges no boost, 0 or more. Defaults to 0.15.
boostTiersVehicleDriftBoostTier[]noMini-boost tiers earned by the drift's charge time. Absent or empty: a drift gives no boost. Ascending time.
boostThrustnumberno2Multiplier on the drive force while a boost lasts, 1 or more. Defaults to 2.

See also