ACS HudMessage + Pitch question...

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Major Cooke
Posts: 8209
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

ACS HudMessage + Pitch question...

Post by Major Cooke »

I'm a little lost on how to begin here so let me just try to set out an example.

Say I have some graphics of a body as if in first person mode. I want it to appear only when looking down and self adjusting based upon the user's pitch. Naturally, it won't be visible over a certain threshold when looking further up and away from it.

Any ideas on how to do this properly? Mainly, the GetActorPitch return and conversion limit to +-0.25 (using gzdoom here) is a bit confusing and I don't really know how to adjust HudMessage's x/y/z in an appropriate manner based on that.
Locked

Return to “Editing (Archive)”