$upaxis

From Valve Developer Community
Revision as of 13:35, 30 March 2008 by Beeswax (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The QC command $upaxis tells StudioMDL which axis in the .SMD file should be considered up.

  • By default StudioMDL will assume the SMD file uses $upaxis Z.
  • SMD files exported from 3DS Max and XSI do use $upaxis Z, so there's no need to specify the $upaxis command in your QC file.
  • SMD files exported from Maya (by default) use $upaxis Y, so you need to specify $upaxis Y in your QC file.

Example Syntax

$upaxis Y