Enables debug visualization of vehicle wheels and suspension raycasts.
Takes vehicleHandle (vehicle from b3dCreateVehicle).
Returns nothing.
3D Graphics
Parameters & Returns
Parameters
vehicleHandleInt
Returns
Void
Quick Summary
Enables debug visualization of vehicle wheels and suspension raycasts.
Takes vehicleHandle (vehicle from b3dCreateVehicle).
Returns nothing.
Technical Exegesis...
Enables debug visualization of vehicle wheels and suspension raycasts. Takes vehicleHandle (vehicle created with b3dCreateVehicle and finalized). Returns nothing. Draws debug lines/shapes showing wheel positions, suspension raycasts, ground contact points, and suspension compression. Useful for debugging vehicle setup, tuning suspension, and diagnosing physics issues.
Enables debug visualization of vehicle wheels and suspension raycasts. Takes vehicleHandle (vehicle created with b3dCreateVehicle and finalized). Returns nothing. Draws debug lines/shapes showing wheel positions, suspension raycasts, ground contact points, and suspension compression. Useful for debugging vehicle setup, tuning suspension, and diagnosing physics issues.
Debug visualization typically shows: wheel position cylinders (visual representation of wheel radius and width), suspension raycasts (lines from wheel position downward showing raycast direction), ground contact points (markers where wheels touch ground), suspension compression (color-coded or scaled visualization of suspension state). Use for development only (disable in release builds for performance).
Use cases: (1) Wheel alignment check (verify wheels positioned correctly relative to visual mesh), (2) Suspension tuning (see suspension compression visually while driving), (3) Ground contact debugging (verify wheels hitting ground properly), (4) Physics troubleshooting (diagnose why vehicle not behaving correctly). Common pattern: b3dDebugVehicleWheels(vehicle) called once during initialization for debug builds.