Lua SetFacing

Lua : SetFacing
Set which direction the player is currently facing.

Parameters

 * (radians) or (targetObject) or (targetPosition) or (x, y z)


 * radians
 * Facing direction in radians (float).


 * targetObject
 * A LuaGenericObject to face.


 * targetPosition
 * Pointer to a Vector3 object.


 * x
 * X co-ord of a position.


 * y
 * Y co-ord of a position.


 * z
 * Z co-ord of a position.