@SketchpunkLabs
  @SketchpunkLabs
SketchpunkLabs | WebGL 2 : 049 : Ray Cylinder / Capsule Intersection @SketchpunkLabs | Uploaded 6 years ago | Updated 2 days ago
Now we explore a complex object for ray intersections. Capules themselves require testing cylinder and spheres to find the best intersection point on a ray.

=====================================================

### Links of Interest
https://stackoverflow.com/questions/4078401/trying-to-optimize-line-vs-cylinder-intersection

https://www.gamedev.net/forums/topic/467789-raycylinder-intersection/

=====================================================

GitHub :: https://github.com/sketchpunk/FunWithWebGL2
Patreon :: https://www.patreon.com/sketchpunk
Tumblr :: http://sketchpunklabs.tumblr.com/
WebGL 2 : 049 : Ray Cylinder / Capsule IntersectionWebGL2 : 060 : Parse animations from GLTF FilesFun with WebGL 2.0 : 040 : Dual Quaternions with Skinning / BonesFun with WebGL 2.0 : 014 : Texture MasksWebGL2 : 115 : ECS Bone/Joint EntityWebGL 2.0 : 045 : Ray to Quad / Square / Rect and Circle IntersectionWebGL2 : 128 : Spring - Jiggle - Dynamic BoneWebGL2 : 109 : Inverse KinematicsIK Rig like Prototype DemoWebGL2 : 102 : ECS P6: Transform HierarchyWebGL2 : 108 : Armature LocomotionFun with WebGL 2.0 : 027 : Bezier Curves in 3D

WebGL 2 : 049 : Ray Cylinder / Capsule Intersection @SketchpunkLabs