$upaxis: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
The [[QC command]] <code>[[$upaxis]]</code> tells StudioMDL which axis in the SMD file should be considered 'up'. The default value is <code>z</code>.
The [[$upaxis]] [[QC command]] tells StudioMDL which axis in the SMD file should be considered 'up'. The default value is <code>z</code>.


{{note|The command must be called before any animations - preferably on the first line of the QC.}}
{{note|The command must be called before any animations - preferably on the first line of the QC.}}

Revision as of 05:23, 2 January 2012

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.

Exporters

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

Usage

$upaxis [X|Y]