Background for Skyrim SE
Member of the Game script
voidfunctionSetSittingRotation(floatafValue)NativeGlobal

Description

Wiki Description

Set the sitting offset for the players camera.

Documentation Comment

Set the players sitting camera rotation - in degrees, offset from the standard angle.


Caveats

CK Wiki - Notes

  • Only works in first-person camera mode. If the player is in the third-person camera mode, the camera will not move when this function is called.

Parameters

floatafValue


Examples

; Look 90 degrees to the left
Game.SetSittingRotation(-90.0)

Auto-Generated Example

float myFloat__afValue

Game.SetSittingRotation(myFloat__afValue)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.