Jump to content

Horiz: Difference between revisions

From EDukeWiki
changed the wording a bit... i find it somewhat strange speak of a "radius" in the context of a tangent.
Fox (talk | contribs)
No edit summary
Line 1: Line 1:
The '''horiz''' member of the player structure controls the angle at which the player is looking up or down.  A value of 100 equates to looking straight ahead; 299 is looking all the way up and -99 is looking all the way down.
The '''horiz''' member of the player structure controls the angle at which the player is looking up or down.  A value of 100 equates to looking straight ahead; 299 is looking all the way up and -99 is looking all the way down.


Similar to floor/ceiling slopes, the value for horiz represents the tangent of an angle, rather than the angle itself. A horiz difference of 128 corresponds to a tangent difference of one.
Similar to floor/ceiling slopes, the value for horiz represents the tangent of an angle, rather than the angle itself. A horiz difference of 128 corresponds to a tangent difference of one.


  gamevar TEMP 0 0
  gamevar TEMP 0 0

Revision as of 05:23, 13 June 2013