Reset Behind Camera

Signature

void resetbehindcamera(float yaw, float pitch); //id:0x0288

Description

Sets the camera yaw and pitch.

Its usually used after a cutscene ends or a new location is entered.

Arguments

Yaw

Sets the camera yaw to: f(x)=x+πf(x) = x + π

The value range is -π -> π and the result is capped between 0 and 2π.

Pitch

Sets the camera pitch to: f(x)=x/2+0.4830000103f(x) = x / 2 + 0.4830000103

The value range is -1 -> 1 and the result is capped between 0 and 1.

Last updated