Character.getDirection
Returns the direction of where a character is viewing or aiming.
Kind: Function
Environments: Game
Game
character:getDirection( )
Parameters:
| Name | Type | Description |
|---|---|---|
character |
Character | The character. |
Returns:
| Type | Description |
|---|---|
| Vec3 | The character's view direction. |