Simple Drift Controller

A physics-based drift vehicle controller for Unity with camber dynamics, clutch kick, drift scoring, prefab-based skid marks and smoke, and drift-aware camera swing-out. Built on the suspension and drivetrain foundation of Simple Offroad Controller, rebased and extended for drift.

hero

Overview

Feature Description
Drivetrain Torque-curve engine, automatic/manual transmission, 3 diff models
Suspension Spring-damper per wheel with independent compression/droop
Camber Static (-12° to +5°) + dynamic (body-roll based, up to -10°) with grip penalty and camber thrust
Tire Model Three-region slip curve (peak, falloff, residual) with relaxation length
Clutch Kick Brief torque spike to break traction on demand
Drift Scoring Angle × time accumulation with countersteer bonus
Camera Drift-aware chase cam with lateral swing-out and velocity look-ahead
Effects Prefab-based skid marks + smoke per wheel, optional steering-axle exclusion, tire screech audio
Audio Auto-created AudioSource, always-audible engine floor
Presets Vehicle (Street/Tuner/Pro Drift/Formula D), Surface (Asphalt/Concrete/Wet/LowGrip), Engine (8 types)
Input New Input System via .inputactions asset, programmatic delegate

Default Input Bindings

Action Keyboard Gamepad
Steer A/D Left Stick X
Throttle W Right Trigger
Brake S Left Trigger
E-Brake Space Button South (A)
Clutch Kick C Button West (X)
Reverse R Right Stick Down
Lights L Button Y
Camera Switch Tab Right Shoulder
Handbrake Toggle H Button North (Y)

Package Contents

  • Scripts/ — Runtime and editor scripts
    • Editor/ — Custom inspectors, presets, Auto-Configure wizard
    • Input/ — Input system implementations (auto-managed by vehicle)
    • Powertrain/ — Engine and transmission serializable classes
  • Documentation/ — This documentation
    • Images/ — Screenshots and diagrams

Requirements

  • Unity 2022.3 LTS or newer
  • com.unity.inputsystem package (Window > Package Manager)

Next Steps