crashcat docs
Preparing search index...
broadphase
castRay
Function castRay
castRay
(
world
:
World
,
origin
:
Vec3
,
direction
:
Vec3
,
length
:
number
,
queryFilter
:
Filter
,
visitor
:
BodyVisitor
,
)
:
void
finds bodies with AABBs that intersect the given ray, the visitor given where the ray entered each
Parameters
world
:
World
origin
:
Vec3
direction
:
Vec3
length
:
number
queryFilter
:
Filter
visitor
:
BodyVisitor
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
crashcat docs
Loading...
finds bodies with AABBs that intersect the given ray, the visitor given where the ray entered each