This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| functions:hudsetcameraactoradvanced [2017/04/17 17:12] – created korshun | functions:hudsetcameraactoradvanced [2017/04/17 17:14] (current) – korshun | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== Description ===== | ===== Description ===== | ||
| - | Sets [[: | + | Sets [[: |
| Takes the following flags: | Takes the following flags: | ||
| - | * HUD_CAMERAACTOR_NOPOSITION -- don' | + | * HUD_CAMERAACTOR_NOPOSITION -- don' |
| - | * HUD_CAMERAACTOR_NODIRECTION -- don' | + | * HUD_CAMERAACTOR_NODIRECTION -- don' |
| - | * 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 |
| * HUD_CAMERAACTOR_NOVIEWHEIGHT -- don't take the actor' | * HUD_CAMERAACTOR_NOVIEWHEIGHT -- don't take the actor' | ||
| Use '' | Use '' | ||
| - | See [[HudSetCameraActorAdvanced]] for what tweaks this function performs. | ||
| - | |||
| - | ===== Examples ===== | ||
| - | < | ||
| - | while (IsPlaying()) | ||
| - | { | ||
| - | HudResetState(); | ||
| - | HudSetCameraActor(0); | ||
| - | Draw3DStuff(); | ||
| - | Delay(1); | ||
| - | } | ||
| - | </ | ||