VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Static Public Member Functions | List of all members
AVR.Core.Utils.Phys Class Reference

Physics and raycast-centric utility functions. More...

Static Public Member Functions

static bool PathCast (Vector3[] positions, out RaycastHit hit)
 Perform linecasts along a spline of positions. More...
 
static bool PathCast (Vector3[] positions, out RaycastHit hit, LayerMask mask)
 Perform linecasts along a spline of positions. More...
 
static bool PathCast (Vector3[] positions, out RaycastHit hit, Matrix4x4 localToWorld)
 Perform linecasts along a spline of positions given in local space. More...
 
static bool LineCast (Vector3 start, Vector3 end, out RaycastHit hit)
 
static bool LineCast (Vector3 start, Vector3 end, out RaycastHit hit, LayerMask mask)
 
static bool LineCast (Vector3 start, Vector3 end, out RaycastHit hit, Matrix4x4 localToWorld)
 

Detailed Description

Physics and raycast-centric utility functions.

Definition at line 90 of file AVR_Utils.cs.