$upaxis: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo 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 [[QC command]] <code>[[$upaxis]]</code> 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.}}
{{note|The command must be called before any animations - preferably on the first line of the QC.}}


== Exporters ==
== Exporters ==
Line 13: Line 13:


== Usage ==
== Usage ==
  $upaxis [X|Y|Z]
  $upaxis [X|Y]


[[Category:QC Commands|U]]
[[Category:QC Commands|U]]
[[Category:Maya]]
[[Category:Maya]]

Revision as of 13:38, 27 April 2008

The QC command $upaxis 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

Usage

$upaxis [X|Y]