p.Vehicle.ShowWheelForces doesn't work

In ue 5.1 I’m trying to debug chaos vehicle, I have HUD actor in gamemode so showdebug works. However, when I try to use drawing commands like p.Vehicle.ShowWheelForces, they don’t render anything.

I even hidden my mesh in case it overlaps with the lines drawn by debug.


Hi Chan,

I just tested this myself and found that the wheels need to be in contact with the ground + moving for those debug objects to draw.

Curious if you’re able to see debug with the template vehicles.

p.chaos.debugdraw.enabled 1

The problem is that other draw debug commands also don’t work for me, eg one that draws center of mass.

I managed to get it working in example project after setting HUD class to HUD in world settings, and can’t make it work in my game :frowning:

I also tried migrating sport car blueprint from template project and again didn’t see drawn debug.

It may be connected with my HUD, but I set it to standard HUD class

What I did to debug was step-by-step complication.

  1. I checked if migrated SportsCar is working with the default GameMode with SportsCar set as pawn. It worked after “p.Chaos.DebugDraw.Enabled 1” and “p.Vehicle.ShowWheelForces 1”, I also overriden throttle for movement
  2. I checked that it works in my game mode
  3. I checked that it works with my own blueprint class.

Then I got it working. The reason it wasn’t before was that it is shown in Standalone, but isn’t shown in Listen Server which I selected as default

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.