Provides more routines for Physics2D.
More...
|
static GameObject | Raycast2DWithoutSelf (Transform source, Transform destination, LayerMask layerMask) |
| Runs a nonallocating linecast, ignoring the source.
|
|
Provides more routines for Physics2D.
◆ Raycast2DWithoutSelf()
static GameObject PixelCrushers.MorePhysics2D.Raycast2DWithoutSelf |
( |
Transform |
source, |
|
|
Transform |
destination, |
|
|
LayerMask |
layerMask |
|
) |
| |
|
inlinestatic |
Runs a nonallocating linecast, ignoring the source.
◆ maxRaycastResults
int PixelCrushers.MorePhysics2D.maxRaycastResults |
|
staticgetset |
Size of the preallocated array for nonallocating raycasts.
◆ queriesStartInColliders
bool PixelCrushers.MorePhysics2D.queriesStartInColliders |
|
staticgetset |
Wrapper for Physics2D.queriesStartInColliders.
The documentation for this class was generated from the following file:
- C:/Dev/Quest Machine/Dev/Source/Assets/Plugins/Pixel Crushers/Common/Scripts/Misc/MorePhysics2D.cs