I found it interesting that while THREE.Ray class has methods to detect collisions against Triangle, Plane, Box, and Sphere, doesn’t have a method for Line, such as like intersectsLine3(). Must I write my own or is there a way around it. My goal is to get an intersection on a line, from a ray cast.
So I want to ray cast against a 2D linear line who has a start and end point.
Currently, i’m thinking to get around it without having to write my own, I can create a THREE.Line mesh out of a Line3, and then use the THREE.Raycaster instead to do intersectObjects(myLine).