raytrace method
Iterable<RaycastResult<ShapeHitbox> >
raytrace(
- Ray2 ray, {
- int maxDepth = 10,
- List<
ShapeHitbox> ? ignoreHitboxes, - List<
RaycastResult< ? out,ShapeHitbox> >
override
Implementation
@override
Iterable<RaycastResult<ShapeHitbox>> raytrace(
Ray2 ray, {
int maxDepth = 10,
List<ShapeHitbox>? ignoreHitboxes,
List<RaycastResult<ShapeHitbox>>? out,
}) {
return collisionDetection.raytrace(
ray,
maxDepth: maxDepth,
ignoreHitboxes: ignoreHitboxes,
out: out,
);
}