$upaxis: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 7: Line 7:
=== Example Syntax ===
=== Example Syntax ===
  $upaxis Y
  $upaxis Y
[[Category:QC Commands]]

Revision as of 13:36, 30 March 2008

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