No 3d physic debug shows after setting debugDrawFlags

Hi, I’m using Creator 3.8.2 and I need to show 3d physic debug

I have a simple capsule which is attached with a cc.BoxCollider
In code I have this settings

        PhysicsSystem.instance.enable = true;
        PhysicsSystem.instance.debugDrawFlags = EPhysicsDrawFlags.WIRE_FRAME;

But when preview with browser I see nothing like a debug line.
Could you pls tell me what I need to do more?
Thanks!

image
(preview in browser)

image
(in Cocos Creator Editor)

Maybe this.

1 Like

Oh thanks so much!
That did the trick!

image