Difference between revisions of "Roll"

From EDukeWiki
Jump to navigation Jump to search
Line 1: Line 1:
roll <number>
+
'''roll''' contains the value of roll rotation (about the X-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 roll rotation (about the X-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.
+
roll is a member of the [[Members of the spriteext structure|spriteext]] structure.
  
<number> is an angle exprimed in [[Build units]].
+
The value is an angle expressed in [[Build units]].
  
 
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.  

Revision as of 11:19, 16 November 2012

roll contains the value of roll rotation (about the X-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.

roll is a member of the spriteext structure.

The value is an angle expressed in Build units.

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