Jump to content

Avel

From EDukeWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.