sm.camera.setDirection
Sets the direction the camera is aiming.
Kind: Function
Environments: Game
Game
sm.camera.setDirection( direction )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
direction |
Vec3 | The direction of the camera's aim. |