ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:hudsetcameraactoradvanced

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
functions:hudsetcameraactoradvanced [2017/04/17 20:12] – created korshunfunctions:hudsetcameraactoradvanced [2017/04/17 20:12] korshun
Line 10: Line 10:
   * HUD_CAMERAACTOR_NOPOSITION -- don't call [[HudSetCameraPosition]].   * HUD_CAMERAACTOR_NOPOSITION -- don't call [[HudSetCameraPosition]].
   * HUD_CAMERAACTOR_NODIRECTION -- don't call [[HudSetCameraDirection]].   * HUD_CAMERAACTOR_NODIRECTION -- don't call [[HudSetCameraDirection]].
-  * HUD_CAMERAACTOR_NOPREDICTION -- don't try to shift camera position based on actor speed to minimize positioning artifacts caused by [[:35 fps]] rendering.+  * HUD_CAMERAACTOR_NOPREDICTION -- don't try to shift camera position based on actor velocity to minimize positioning artifacts caused by [[:35 fps]] rendering.
   * HUD_CAMERAACTOR_NOVIEWHEIGHT -- don't take the actor's view height into account.   * HUD_CAMERAACTOR_NOVIEWHEIGHT -- don't take the actor's view height into account.
  
 Use ''|'' operator to combine flags (e.g ''HUD_CAMERAACTOR_NOPREDICTION | HUD_CAMERAACTOR_NOVIEWHEIGHT''). Use ''|'' operator to combine flags (e.g ''HUD_CAMERAACTOR_NOPREDICTION | HUD_CAMERAACTOR_NOVIEWHEIGHT'').
  
-See [[HudSetCameraActorAdvanced]] for what tweaks this function performs. 
- 
-===== Examples ===== 
-<code> 
-while (IsPlaying()) 
-{ 
-    HudResetState(); 
-    HudSetCameraActor(0); 
-    Draw3DStuff(); 
-    Delay(1); 
-} 
-</code> 
  
functions/hudsetcameraactoradvanced.txt · Last modified: 2017/04/17 20:14 by korshun