AI summary by TwinMind
The Physics of Racing Games
Real Engineering
9m 55s
Event Overview
- Ubisoft invited content creator to Red Bull Ring, Austria to test drive 4 different vehicles
- Vehicles tested: KTM Crossbow (ultra lightweight tracker), off-road buggy, Land Rover Defender, Porsche Cayman S
- Purpose: understand real-world vehicle performance vs in-game physics programming
- Stefan Jankowski (producer at Ivory Tower/Ubisoft) discussed The Crew 2 development process
Physics Engine Architecture
- Game separates physics model from 3D visual model
- 3D model handles visual representation
- Physics model creates independent physics objects (wheels with own friction/mass)
- Developer can choose which cosmetic changes affect performance
- Spoilers don't function as aerodynamic surfaces in The Crew 2
- Players can add spoilers to front-wheel drive cars without performance impact
- Suspension is one cosmetic feature that does affect vehicle performance
Suspension Systems Analysis
Off-Road Vehicle Suspension
- Extremely soft suspension allows high-speed traversal over rugged terrain
- Minimizes force transfer to vehicle body
- Major drawback: susceptible to roll during cornering/slanted ground driving
- Weight shifts to one side
- High center of mass increases roll risk
- Game prevents actual rollover via physics engine torque application
- Allows realistic roll behavior for traction physics model
Track Vehicle Suspension
- Always have stiff suspensions
- Maintains tire contact with ground for traction in corners
- Prevents tilting while maintaining consistent ride height
- Important for vehicles like Crossbow (undercarriage generates downforce through rear diffuser)
- Low center of gravity minimizes rolling effect
- Drawback: poor ride comfort (every bump felt)
Traction and Weight Distribution Physics
Front-Engine Rear-Wheel Drive Behavior
- Ford Mustang GT example: easy to drift around corners
- Technique: lift off accelerator, hit brake at turn apex
- G-forces from deceleration push heavy front end down
- Lifts rear axle, causes rear tire grip loss
- Initiates oversteer
- Fun in-game with minimal speed penalties
- Real racing vehicles avoid this (mid-engine preferred)
Racing Vehicle Design Philosophy
- Mid-engine layout maintains rear tire grip during braking
- Stiff suspension ensures ideal tire balance
- Even weight distribution between front/rear tires in corners
- Prevents oversteer (drifting/back wheel loss) and understeer (front tire traction loss)
In-Game Traction Controls
- Players can adjust front axle grip and rear axle grip
- Slider adjusts coefficient of friction applied to tires
- Changes traction force tires can apply to ground
- Primary tool for developers to change game feel
Game Realism Spectrum
Simulator Games
- Model traction as realistically as possible
- Optional driving assistance for easier gameplay
- Higher speeds limit max steering angle for overtaking assistance
- Understeer behavior: high-speed cornering results in barrier crashes
- Without assists: vehicle spins (demonstrated with Porsche, traction control off)
Arcade Games
- Separate traction from steering mechanics
- Allow corner-taking at any speed without worry
The Crew 2 Positioning
- Middle ground between simulator and arcade
- Ridiculous jumps possible (Ford F-150 Raptor at 180 km/h)
- 200 km/h dirt track turns without lateral traction loss
- Boosted traction for easier, more fun gameplay
Engine Performance Programming
Real-World Accuracy
- Porsche 911 GT3 RS: 0-100 km/h in 3.2 seconds (matches real-life performance)
- Relative performance between vehicles maintained accurately
- Mazda RX-7 shouldn't beat Porsche 911 GTS in acceleration/top speed
Top Speed Calculation
- Primarily dictated by drag force acting on vehicle
- Drag force equation used in physics engine
- Power equation: force × velocity
- Top speed equation derived from rearranging variables
- Programmers adjust: max power, coefficient of drag, frontal area
- Optional: air density changes with map elevation
Acceleration Programming
- More complex than top speed (varies with vehicle speed)
- Primary variable: wheel torque (varies with engine rotation speeds/gear ratios)
- Wheel force calculation: torque applied ÷ wheel radius (assuming no tire slip)
- Multiple gears cycle through different speeds
- Permanent drive ratio from additional gearing/differential
- Final wheel torque equation: incorporates engine torque (Te)
- Engine torque varies across RPM (defined by torque curve)
- Porsche Cayman S torque curve programmed into vehicle parameters
Development Philosophy
- Balance between realism and fun
- Developers don't always pursue ultra-realism
- Adjust physics variables (lateral traction) for arcade feel
- Exaggerated drifting capabilities
- Easier high-speed cornering
- Extreme examples: plane-to-boat transformation mid-air
