Optional
callback?: RaycastCallbackcallback
Optional
checkSet to false
if you don't want the Ray to take collisionResponse
flags into account on bodies and shapes.
true
Optional
collisioncollisionFilterGroup
-1
Optional
collisioncollisionFilterMask
-1
Optional
from?: Vec3from
Optional
mode?: RayModemode
Optional
result?: RaycastResultresult
Optional
skipIf set to true
, the ray skips any hits with normal.dot(rayDirection) < 0.
false
Optional
to?: Vec3to
RayOptions