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