Pitch: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
pitch <number>
'''pitch''' contains the value of pitch rotation (about the Y-axis) for the [[actor]]'s model. The rotation center can be offset from the model center by settings the [[mdxoff]], [[mdyoff]] and [[mdzoff]] members to non-zero values.


Sets the value of a pitch rotation (about the Y-axis) for the [[actor]]'s model. The rotation center can be offset from the model center by settings the [[mdxoff]], [[mdyoff]] and [[mdzoff]] members to non-zero values.
pitch is a member of the [[Members of the spriteext structure|spriteext]] structure.


<number> is an angle exprimed in [[Build units]]. -512 looks up while 512 looks down.
The value is an angle expressed in [[Build units]]. -512 looks up while 512 looks down.


See the [[model rotation]] guide for further explanation about the usage of this command.  
See the [[model rotation]] guide for further explanation about the usage of this command.  


[[Category:EDuke32 specific commands]]
[[Category:Sprite manipulation]]
[[Category:Sprite manipulation]]

Revision as of 11:18, 16 November 2012

pitch contains the value of pitch rotation (about the Y-axis) for the actor's model. The rotation center can be offset from the model center by settings the mdxoff, mdyoff and mdzoff members to non-zero values.

pitch is a member of the spriteext structure.

The value is an angle expressed in Build units. -512 looks up while 512 looks down.

See the model rotation guide for further explanation about the usage of this command.