Simple Drift Physics Controller - Camber ,Vehicle Axle Suspension, Effects
Dylan Auty
$10.99
$21.99
50%OFF
(no ratings)
Jump AssetStore
Stop fighting WheelColliders for drift cars. Get camber, clutch kicks, and actual drift scoring.Unity 2022.3 LTS or newercom.unity.inputsystem package (optional, but recommended)Delegate input system providedDemo is in Built-in render pipeline, but scripts are pipeline agnosticStop fighting WheelColliders for drift cars. Get camber, clutch kicks, and actual drift scoring.Simple Drift Controller replaces Unity's WheelCollider with a raycast-based suspension system purpose-built for drift. Every axle has independent left and right suspension travel, true camber dynamics, a three-region tire model, and a fully tunable drivetrain, from the engine torque curve and gear ratios to differential bias ratios and anti-roll bar stiffness.Use the Auto-Configure wizard to go from meshes to a sliding vehicle in under a minute, or build your hierarchy manually for full control.Camber SystemStatic camber from -12 to +5 degreesDynamic camber driven by body roll with configurable factor (0-5x) and clampingLeft and right wheels use mirrored camber angles automaticallyCamber thrust generates lateral force toward the lean direction for sharper turn-inGrip penalty at excessive camber angles, reduces peak lateral force proportionallyDrivetrainEngine simulation: multi-keyframe torque curve, rotational inertia, kinematic RPM coupling, stall detectionAutomatic transmission: configurable gear ratios (4/5/6-speed presets), shift-up/down RPM thresholds, shift durationDifferential models: Open, Locked, and Limited-Slip with configurable torque bias ratioClutch kick: brief torque spike (1-5x multiplier, 0.1-1s duration) to break traction on demandTire ModelThree-region lateral force curve: linear climb to peak, gradual falloff, residual grip in full slidePeak slip angle, max slip angle, and slide grip ratio, fully tunable per axleFriction circle coupling, throttle and brake forces interact with lateral gripRelaxation length, lateral force builds based on tire rolling distanceSpeed-scaled force response for progressive turn-in at low speedSteeringMax steer angle up to 70 degrees for angle kit buildsSensitivity, smooth speed, and auto-return per axleHigh-speed reduction for forgiving arcade feel at speedInvert steer per axleDrift ScoringChassis slip angle detection with configurable minimum angle and speed thresholdsScore accumulation: angle over time with multiplierCountersteering detection with bonus pointsDrift count, max angle tracking, and cooldown between driftsPublic API for reset and live score accessCameraDrift-aware chase camera with lateral swing-out proportional to drift angleVelocity-based look direction blending (0-1)Speed pushback and ground-height avoidanceMouse freelook with auto-recenter when drivingSpin yaw threshold prevents camera whip during lost controlMulti-camera manager for switching viewsEffects and FeedbackPer-wheel skid marks via TrailRenderer prefabs, spawned and driven by slipPer-wheel smoke via ParticleSystem prefabs, spawned and driven by slipBoth prefab slots are optional and independentExclude steering axles checkbox for rear-only effectsTire screech audio with auto-created AudioSource, smooth fade in/out, and configurable volume/pitch curvesNo start/stop artifacts, audio loops continuously and fades volume onlyAudioDual AudioSource system for engine sound, auto-created if none existsRPM-blended pitch and volume between idle and running clipsAlways-audible engine floor at idle (minimum 0.15 volume)Shift sound support with one-shot clip on gear changePresets, One-Click SetupVehicle presets: Street, Tuner, Pro Drift, Formula D, set weight, engine, transmission, suspension, differentials, and traction controlSurface presets: Asphalt, Polished Concrete, Wet, Low Grip, set tire curve per axleEngine presets: I4 NA, I4 Turbo, I6 NA, V6 NA, V6 Turbo, I6 TD, V8 NA, V8 S/CTransmission presets: 4, 5, or 6-speed gearboxesInputNew Input System via DriftInputSystem, auto-added with no manual wiringDriftInputDelegate for code-driven control (AI, testing, networked vehicles)Default .inputactions asset included with full action mapDedicated clutch kick and handbrake toggle bindingsLights4-state cycle: Off, Main, HighBeam, AccessoriesAutomatic brake and reverse lightsConfigurable light lists per channelTelemetryDriftInfo with live runtime data in the custom editorSpeed, throttle, steering, engine RPM, gear, torque, and drive torquePer-axle articulation, compression, ground contact, steer angle, camber, and lateral forceDrift angle, drifting status, and score0-60 and 0-100 timersF12 logging and clipboard exportEditorFull custom inspector for DriftVehicle with preset buttons, sliders, and real-time gaugesAuto-Configure wizard with interactive body and wheel setupSceneGUI handles for Center of Mass and camber visualizationLive DriftInfoEditor for Play Mode telemetryWhat's Included15 C# scripts (runtime + editor)Custom inspectors with preset buttons, sliders, and real-time gaugesAuto-Configure editor wizard (body + wheel setup)Full documentation with setup guide, component reference, and tuning tipsImage stub list for documentation screenshotsDocumentationTo maximize development efficiency and deliver faster updates, this asset utilizes an agent-assisted software engineering workflow. As a solo developer with over a decade of dedicated Unity experience, I maintain strict oversight.Every system and architecture choice developed via agentic tooling is thoroughly vetted and production-tested by me to ensure it meets standards I have maintained for over a decade.Embracing modern agentic workflows allows me to scale production speeds while maintaining the exact craftsmanship, stability, and deep optimization my users have come to expect across my portfolio.





