All Classes Namespaces Functions Variables Enumerations Properties Pages
Static Public Member Functions | List of all members
AxisTools Class Reference

Contains tools for working with Axes that have no positive/negative directions. More...

Static Public Member Functions

static Vector3 ToVector3 (Axis axis)
 Converts an Axis to Vector3. More...
 
static Axis ToAxis (Vector3 v)
 Converts a Vector3 to Axis. More...
 
static Axis GetAxisToPoint (Transform t, Vector3 worldPosition)
 Returns the Axis of the Transform towards a world space position. More...
 
static Axis GetAxisToDirection (Transform t, Vector3 direction)
 Returns the Axis of the Transform towards a world space direction. More...
 
static Vector3 GetAxisVectorToPoint (Transform t, Vector3 worldPosition)
 Returns the local axis of the Transform towards a world space position. More...
 
static Vector3 GetAxisVectorToDirection (Transform t, Vector3 direction)
 Returns the local axis of the Transform that aligns the most with a direction. More...
 

Detailed Description

Contains tools for working with Axes that have no positive/negative directions.