With the script provided, simply use Draw Boxcast. modular and super easy to use.
-
Download DebugBoxCast.cs
-
There are 4 functions to call SimpleDrawBox DrawBoxCastOnHit SimpleDrawBoxCast AdvancedDrawBoxCast
-
If you need an example, I include a BoxRaycastSampler.cs
-
Watch the YouTube tutorial. (https://youtu.be/vlb5LKgxTec)
Just a guy making games. Exploring the world of game development with Unity tutorials, coding tips, and shader magic, and fixing bugs. game-related, sometimes not.
🔥follow my YouTube @GameDevBox to find more Tutorials and Tips: GameDevBox
🔥See the tutorial for how you can set it up: https://youtu.be/vlb5LKgxTec
• X/Twitter • Instagram: • LinkedIn: • Discord Server: • itch.io: • Youtube Subscribe: