SimulationExtensions.

RaycastPenetrating(Simulation, RaySegment) Method

Summary

Raycasts penetrating any shape the ray encounters.
Namespace
StrideToolkit.Physics
Containing Type
SimulationExtensions

Syntax

public static FastList<HitResult> RaycastPenetrating(this Simulation simulation, RaySegment raySegment)

Parameters

Name Type Description
simulation Simulation Physics simulation.
raySegment RaySegment Ray.

Return Value

Type Description
FastList<HitResult> The list with hit results.