SimulationExtensions.

RaycastPenetrating(Simulation, RaySegment, IList<HitResult>) Method

Summary

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

Syntax

public static void RaycastPenetrating(this Simulation simulation, RaySegment raySegment, IList<HitResult> resultsOutput)

Parameters

Name Type Description
simulation Simulation Physics simulation.
raySegment RaySegment Ray.
resultsOutput IList<HitResult> The list to fill with results.

Return Value

Type Description
void