Vehicle Debug Commands

Reference for Chaos Vehicle debug commands, helping users visualize the vehicle physics simulation.

Chaos Vehicles come with a variety of debug commands to help you visualize what is happening during the vehicle simulation. All the vehicle-specific commands start with p.vehicle. The commands are enabled by following them with 1, and are disabled by following them with 0. These commands either enable or disable vehicle physics or render debug lines in the scene.

Many of the debug rendering commands are called from the physics thread and need to be enabled with the p.chaos.debugdraw.enabled 1 command before they can be visualized in the scene.

Vehicle Console Debug

p.Vehicle debug commands display in the editor command console

Generic Commands

Generic commands apply to all vehicle types and include visualizing forces and locations, and disabling features and forces.

Visualize Forces and Locations




Enables or disables the center of mass visualization.


Enables or disables the origin visualization.


Enables or disables the aerofoil visualization.


Enables or disables the surface visualization.


Enables or disables the force visualization.


Sets scaling for force visualization. If the forces are large and the lines appear too long, lower the scaling of the rendered lines by using a smaller value.

Disable Features and Forces

These commands will turn off specific forces in isolation to other force. This can help isolate which system is generating a particular behavior in the vehicle movement.




Disables suspension forces in isolation of other forces.


Disables wheel friction forces in isolation of other forces.


Disables suspension roll bar forces in isolation of other forces.


Disables direct torque control.


Disables position stabilization control.


Disables aerodynamic force drag / downforce.


Disables aerofoil forces.


Disables thruster forces.

Wheeled Vehicle Commands




Shows the hit location and normal of the surface that the wheel raycast has hit.


Shows the suspension raycast length. The color indicates whether the ray hit something (green), or not (red).


Enables or disables the suspension limits visualization.


Enables or disables the wheel forces visualization.


Enables or disables the suspension forces visualization.


Displays the name of the component the wheels are in contact with (from the raycast hit).


Displays the name of the physics material that the wheels are in contact with (from the raycast hit).

Vehicle Commands Overrides




Sets the threshold used by the control input to wake up the vehicle if it is sleeping. The default is 0.02.


Global override of the ray trace type. A value of 1 uses Simple collision, while a value of 2 uses Complex collision.


Set a top speed override in miles per hour(affects all vehicles). Can help debug an issue or can be used in conjunction with the throttle override.


Global override of the throttle control input (range 0 to 1). This is useful for testing the performance of many vehicles driving at once.


Global override of the steering value (range -1 to 1). This is useful for testing the performance of many vehicles driving at once, as you can set them to dre in circles over the terrain.


Enable or disable batching of suspension raycasts.


Enable or disable parallel updates of all vehicles. If a threading crash is suspected, then the vehicle manager can be switched from parallel updates to serial updates. This will simulate vehicles one at a time.

Vehicle Stat Commands



stat ChaosVehicle

Displays timings for the different parts of the vehicle simulation.

stat ChaosVehicleManager

Displays timings for simulating all the vehicles in the scene. It also displays counters showing the number of vehicles, and the portion of vehicles currently awake or sleeping.

Using the Center of Mass

The location of the center of mass has a significant effect on vehicle handling. A high center of mass will cause the vehicle to roll more in corners, or dip more under acceleration and braking.

Pushing the center of mass forward will make steering less reactive since the movement arm will be longer for the rear wheels and shorter for the front wheels. This means that the lateral forces on the rear wheels will have a greater effect on the angular rotation of the vehicle compared to the front wheels.

Visualizing where the center of mass is located is one of the most useful tools for debugging vehicle behavior. A Center Of Mass Offset defined on the skeletal mesh can shift the center of mass position relative to the initially calculated location from the collision model. The center of mass visualization command p.Vehicle.ShowCOM 1 displays the current center of mass position after any offset has been applied.

Center of mass visualized

Center of mass visualized

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey