raycast method
RaycastResult<ShapeHitbox> ?
raycast(
- Ray2 ray, {
- double? maxDistance,
- List<
ShapeHitbox> ? ignoreHitboxes, - RaycastResult<
ShapeHitbox> ? out,
override
Implementation
@override
RaycastResult<ShapeHitbox>? raycast(
Ray2 ray, {
double? maxDistance,
List<ShapeHitbox>? ignoreHitboxes,
RaycastResult<ShapeHitbox>? out,
}) {
return collisionDetection.raycast(
ray,
maxDistance: maxDistance,
ignoreHitboxes: ignoreHitboxes,
out: out,
);
}