A candy tools for developers.
By wrapping the build-in physics raycasting methods, we able to intercept the RaycastHit result and create a visual for that.
Therefore the developers are easier for parameters tuning and test the result.
Features:
Visualize raycast shape and result directly in the scene view.
Zero GC allocation
UnityEvents Supported: OnHit(Transform);
Offset, unsync rotation
Full source code.
Decentralized architecture separated for { Raycast, SphereCast, BoxCast, CapsuleCast… },
you can access those structure directly.
by accessing those struct, you able to define the Raycast similar to Unity API document.