@SketchpunkLabs
  @SketchpunkLabs
SketchpunkLabs | WebGL 2.0 : 047 : Ray intersects Bounding Box (OBB) @SketchpunkLabs | Uploaded 6 years ago | Updated 1 day ago
With AABB out of the way, now it's time to learn about OBB, known as Oriented Bounding Boxes. The idea is the same as AABB, where you test each axis as a single dimension to narrow down the point of intersection. The only difference is that OBB takes rotation into account, so we need to take a few extra steps and a few changes in the math to make this doable.
======================================================
GitHub :: https://github.com/sketchpunk/FunWithWebGL2
Patreon :: https://www.patreon.com/sketchpunk
Tumblr :: http://sketchpunklabs.tumblr.com/
WebGL 2.0 : 047 : Ray intersects Bounding Box (OBB)WebGL2 : 122 : IK Solver AimWebGL2 : 137.6 : IK Rigs - Head & SpringsFun with WebGL 2.0 : The IntroductionFun with WebGL 2.0 : 029 : Animating on a Bezier Splines PathWebGL2 : 082 : Bloom / Glow Post EffectFun with WebGL 2.0 : 020 : Head Tracking in WebVRWebGL2 : 117 : Arc Circle IK SolverWebGL 3D Painting PrototypeWebGL2 : 137.0 : IK Rigs IntroWebGL 2.0 : 044 : Ray to Triangle IntersectionWebGL 2 : 053 : Instanced Particles with TransformFeedback

WebGL 2.0 : 047 : Ray intersects Bounding Box (OBB) @SketchpunkLabs