Loading...
Searching...
No Matches
PixelCrushers.MorePhysics2D Class Reference

Provides more routines for Physics2D. More...

Static Public Member Functions

static GameObject Raycast2DWithoutSelf (Transform source, Transform destination, LayerMask layerMask)
 Runs a nonallocating linecast, ignoring the source.
 

Properties

static bool queriesStartInColliders [get, set]
 Wrapper for Physics2D.queriesStartInColliders.
 
static int maxRaycastResults [get, set]
 Size of the preallocated array for nonallocating raycasts.
 

Detailed Description

Provides more routines for Physics2D.

Member Function Documentation

◆ Raycast2DWithoutSelf()

static GameObject PixelCrushers.MorePhysics2D.Raycast2DWithoutSelf ( Transform  source,
Transform  destination,
LayerMask  layerMask 
)
inlinestatic

Runs a nonallocating linecast, ignoring the source.

Property Documentation

◆ 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: