How to remove only terrain debug wireframe when enabling bullet debug?

I am using native bullet.

I enabled bullet debug but it gets very hard to see anything other than the terrain collider bullet debug wireframe.

I am trying to disable only the debug wireframe for the terrain, and keep everything else.

Any idea?

BulletDebugAppState seems to have a DebugAppStateFilter that “allows filtering out objects from the debug display”.

Another way, but probably not good for you, is to have the terrain in a different physicsSpace.

1 Like

perfect thx!

I just had to add to the queue this, because that state is not added/created instantly: