sm.camera.setUnseatDirection

Sets the world-space direction for the local player character to face when the player unseats. Cleared automatically when used or when entering a seat.

Kind: Function

Environments: Game

Game

sm.camera.setUnseatDirection( worldDirection )

Open the full Game reference

Availability: Client only

Passing nil clears any previously set unseat direction.

Parameters:

Name Type Description
worldDirection (optional) Vec3 The world-space direction to face on unseat. (optional)