vertxxyz / Vertx.Debugging

Debugging utilities for Unity
MIT License
508 stars 33 forks source link

Request: Spherecast with same signature as Physics.SphereCast #31

Closed laurentopia closed 1 month ago

laurentopia commented 1 month ago

I started replacing Unity's physics stuff with your stuff because having debug is more convenient, plus it seems that your stuff removes all extra display on build.

vertxxyz commented 1 month ago

What overload is missing from DrawPhysics.SphereCast?

laurentopia commented 1 month ago

DrawPhysics.SphereCast doesn't have layermask or query trigger like this does. https://docs.unity3d.com/ScriptReference/Physics.SphereCast.html

vertxxyz commented 1 month ago

Can you be specific about which overload you're talking about? Because there are overloads with layer mask and trigger queries https://github.com/vertxxyz/Vertx.Debugging/blob/master/Runtime%2FDrawPhysics.cs#L254

laurentopia commented 1 month ago

Well that's strange, now I can see it.