Avel

From EDukeWiki
Jump to navigation Jump to search

The avel member of the input structure holds the value of the player's current "angle velocity", corresponding to the analog input assigned to turning. Digital turning normally sets this to +/-30.

The avel/q16avel member can be modified to slow down the player's turn rate, but for such a scenario this must be done using the event EVENT_PREUPDATEANGLES.