Summary
Raycasts penetrating any shape the ray encounters.
Filtering by CollisionGroup
Syntax
public static void RaycastPenetrating(this Simulation simulation, RaySegment raySegment, IList<HitResult> resultsOutput, CollisionFilterGroups collisionFilterGroups, CollisionFilterGroupFlags collisionFilterGroupFlags)
Parameters
Name |
Type |
Description |
simulation |
Simulation |
Physics simulation. |
raySegment |
RaySegment |
Ray. |
resultsOutput |
IList<HitResult> |
The list to fill with results. |
collisionFilterGroups |
CollisionFilterGroups |
The collision group of this shape sweep |
collisionFilterGroupFlags |
CollisionFilterGroupFlags |
The collision group that this shape sweep can collide with |
Return Value