rayVsPlane3
rayVsPlane3(
origin,dir,plane):number|null
Defined in: src/modules/collision-3d/narrowphase3.ts:175
Ray vs plane: the t at which the ray meets the plane, or null when the
ray runs parallel to it or the plane lies behind the origin.
t is parametric in units of dir, exactly as in rayVsAabb3, so
t <= 1 is a segment test.
Parameters
Section titled “Parameters”origin
Section titled “origin”Returns
Section titled “Returns”number | null