ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:hudsetcameraangles

HudSetCameraAngles

void HudSetCameraAngles(fixed angle, fixed pitch)

This is a HUD Library function.

Description

Sets camera direction using two angles.

Actor pitch in ZDoom is inverted. This function does not invert pitch.
If you want to do HudSetCameraAngles(GetActorAngle(tid), -GetActorPitch(tid)), use HudSetCameraActor instead.
functions/hudsetcameraangles.txt · Last modified: 2017/04/17 18:02 by korshun