PhysicsDebugDisplay is slow.

In the PhysicsDebugDisplay, DrawColliers are too slow. Is there any way to check the collider created with Convex Collider with high performance?
Or, can I draw collider only specific objects?

yeah gizmos are just super slow. i rewrote the debugger with my own draw library and it’s magnitudes faster and just better. Can handle 1000s of colliders, actual capsules and works in development builds etc.

I’d suggest doing the same thing with something like aline

2 Likes

Thank you for your answer.
Create a convex collider with the NativeArray vertices. I think I can draw a line only if I know the index number of the vertex with that vertex. I checked the document and I don’t know the index of the internal peak, is there any way?