Falco Engine 3.9.0.1 (beta)
FalcoEngine.Physics Class Reference

Static Public Member Functions

static RaycastHit Raycast (Vector3 from, Vector3 to)
 Check a ray intersection More...
 
static RaycastHit Raycast (Vector3 from, Vector3 to, LayerMask layerMask)
 Check a ray intersection by layer mask More...
 
static Rigidbody[] OverlapSphere (Vector3 center, float radius)
 Return an array of colliders which are overlapped by a sphere More...
 
static Rigidbody[] OverlapSphere (Vector3 center, float radius, LayerMask layerMask)
 Return an array of colliders which are overlapped by a sphere with layer mask More...
 

Detailed Description

Definition at line 5 of file Physics.cs.

Member Function Documentation

◆ OverlapSphere() [1/2]

static Rigidbody[] FalcoEngine.Physics.OverlapSphere ( Vector3  center,
float  radius 
)
static

Return an array of colliders which are overlapped by a sphere

Parameters
center
radius
Returns

Definition at line 44 of file Physics.cs.

◆ OverlapSphere() [2/2]

static Rigidbody[] FalcoEngine.Physics.OverlapSphere ( Vector3  center,
float  radius,
LayerMask  layerMask 
)
static

Return an array of colliders which are overlapped by a sphere with layer mask

Parameters
center
radius
layerMask
Returns

Definition at line 56 of file Physics.cs.

◆ Raycast() [1/2]

static RaycastHit FalcoEngine.Physics.Raycast ( Vector3  from,
Vector3  to 
)
static

Check a ray intersection

Parameters
from
to
Returns

Definition at line 13 of file Physics.cs.

◆ Raycast() [2/2]

static RaycastHit FalcoEngine.Physics.Raycast ( Vector3  from,
Vector3  to,
LayerMask  layerMask 
)
static

Check a ray intersection by layer mask

Parameters
from
to
layerMask
Returns

Definition at line 29 of file Physics.cs.


The documentation for this class was generated from the following file: