SimulationExtensions.

RaycastPenetrating(Simulation, RaySegment, CollisionFilterGroups, CollisionFilterGroupFlags) 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, CollisionFilterGroups collisionFilterGroups, CollisionFilterGroupFlags collisionFilterGroupFlags)

Parameters

Name Type Description
simulation Simulation Physics simulation.
raySegment RaySegment Ray.
collisionFilterGroups CollisionFilterGroups The collision group of this shape sweep
collisionFilterGroupFlags CollisionFilterGroupFlags The collision group that this shape sweep can collide with

Return Value

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