Abstract collision geometry.
Methods
rayCast(begin:Vec3, end:Vec3, transform:Transform, hit:RayCastHit):Bool
Performs ray casting. Returns true
and sets the result information to hit
if
the line segment from begin
to end
and the geometry transformed by transform
intersect. Returns false
if the line segment and the geometry do not intersect.