Summary
Raycasts penetrating any shape the ray encounters.
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. |