TeamWizardry / LibrarianLib

A library for the TeamWizardry mods
GNU Lesser General Public License v3.0
26 stars 21 forks source link

Create raycaster with radius #139

Open thecodewarrior opened 4 years ago

thecodewarrior commented 4 years ago

Create a class that will do raycasts on AABBs, registering any hits within a certain radius of the ray (think a raycast with a cylinder).

Here's some code I found for doing AABB-ray distance checks: