An ACS library for ZDoom-based ports
void HudSetCameraActor(int tid)
This is a HUD Library function.
Sets camera position and direction to match those of the specified actor.
See HudSetCameraActorAdvanced for how this function works.
while (IsPlaying()) { HudResetState(); HudSetCameraActor(0); Draw3DStuff(); }