EVENT POSTUPDATEANGLES: Difference between revisions
Jump to navigation
Jump to search
Doom64hunter (talk | contribs) Created page with "{{EventTable|1=EVENT_POSTUPDATEANGLES|2=player that executed the input|3=player->i|4=0 values}} '''EVENT_POSTUPDATEANGLES''' is a Game Event. This event triggers once each frame, after the mouse input has been applied to the input struct. It provide access to the input struct value updates of that frame. This makes it possible to alter input[].q16avel and input.q16horz at the same rate at which mouse inputs are handl..." |
Doom64hunter (talk | contribs) mNo edit summary |
||
Line 4: | Line 4: | ||
This event triggers once each frame, after the mouse input has been applied to the input struct. It provide access to the input struct value updates of that frame. | This event triggers once each frame, after the mouse input has been applied to the input struct. It provide access to the input struct value updates of that frame. | ||
This makes it possible to alter [[ | This makes it possible to alter [[avel|input[].q16avel]] and [[horz|input[].q16horz]] at the same rate at which mouse inputs are handled by the engine. | ||
The primary use for this event is to alter the speed at which mouse movement shifts the player's camera angle, or to completely lock the player's view in place without visual glitches. | The primary use for this event is to alter the speed at which mouse movement shifts the player's camera angle, or to completely lock the player's view in place without visual glitches. | ||
[[Category:Events]] | [[Category:Events]] |
Revision as of 11:32, 5 February 2022
Event ID | player# | THISACTOR | RETURN | |
---|---|---|---|---|
EVENT_POSTUPDATEANGLES | player that executed the input | player->i | 0 values |
EVENT_POSTUPDATEANGLES is a Game Event.
This event triggers once each frame, after the mouse input has been applied to the input struct. It provide access to the input struct value updates of that frame.
This makes it possible to alter input[].q16avel and input[].q16horz at the same rate at which mouse inputs are handled by the engine.
The primary use for this event is to alter the speed at which mouse movement shifts the player's camera angle, or to completely lock the player's view in place without visual glitches.