sm.camera.setSeatLockedLocalDirection

Sets the local direction for the camera when using the seatLockedCamera camera state.

Kind: Function

Environments: Game

Game

sm.camera.setSeatLockedLocalDirection( localDirection )

Open the full Game reference

Availability: Client only

The direction is in the seat's local space and will be transformed by the interpolated seat rotation.

Parameters:

Name Type Description
localDirection Vec3 The local direction to face.