vertxxyz / Vertx.Debugging

Debugging utilities for Unity
MIT License
519 stars 34 forks source link

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

Closed laurentopia closed 3 months ago

laurentopia commented 3 months 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 3 months ago

What overload is missing from DrawPhysics.SphereCast?

laurentopia commented 3 months ago

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

vertxxyz commented 3 months 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 3 months ago

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