LibrarianLib icon indicating copy to clipboard operation
LibrarianLib copied to clipboard

Create raycaster with radius

Open thecodewarrior opened this issue 3 years ago • 0 comments

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:

  • https://www.geometrictools.com/Source/Distance3D.html#LinearVolumetric
  • https://www.geometrictools.com/GTE/Mathematics/DistLine3AlignedBox3.h

thecodewarrior avatar Aug 04 '20 22:08 thecodewarrior