A* Pathfinding Project  4.1.2
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
IMovementPlane Interface Reference

Transforms to and from world space to a 2D movement plane. More...

Detailed Description

Transforms to and from world space to a 2D movement plane.

The transformation is guaranteed to be purely a rotation so no scale or offset is used. This interface is primarily used to make it easier to write movement scripts which can handle movement both in the XZ plane and in the XY plane.

See Also
Pathfinding.Util.GraphTransform

Public Member Functions

Vector2 ToPlane (Vector3 p)
 
Vector2 ToPlane (Vector3 p, out float elevation)
 
Vector3 ToWorld (Vector2 p, float elevation=0)
 

Member Function Documentation

Vector2 ToPlane ( Vector3  p)
Vector2 ToPlane ( Vector3  p,
out float  elevation 
)
Vector3 ToWorld ( Vector2  p,
float  elevation = 0 
)

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