Hi. I’m trying to find some way to visualise Raycast2D.boxcast. All I can find in the documentation is Debug.Drawline and Debug.drawray which only seems to show raycasts.
At the moment I have boxcast coming out of an object. It works pretty much like a box trigger collider (why I can’t just use a trigger is too complicated to go into). I’ve done something similar with a 3D version of this game with spherecasts using trial and error, but that isn’t working here; the boxcasts seem to be working in no logical way I can figure out, but if I could somehow visualise them, I’d probably figure it out in seconds.
Is there a way to do this? Or even if someone has used boxcasts before and could point me in the direction of some diagrams. The documentation is pretty vague.