$upaxis

From Valve Developer Community
Revision as of 22:18, 3 September 2023 by Amazingoffers (talk | contribs)
Jump to navigation Jump to search

The $upaxis QC command tells StudioMDL which axis in the SMD file should be considered 'up'. The default value is z.

Note.pngNote:The command must be called before any animations - preferably on the first line of the QC.
Note.pngNote:If necessary, it is possible to use negative values to indicate that the model should be rotated.

Exporters

Need $upaxis
Maya
Do not need $upaxis
XSI
3DS Max
MilkShape
Blender

Usage

$upaxis [X|-X|Y|-Y|Z|-Z]