upaxis-z#
Code |
UN.006 |
---|---|
Validator |
|
Compatibility |
core usd |
Tags |
š |
Summary#
Stage must specify upAxis = āZā to define the orientation of the stage
Description#
The stage must have upAxis = āZā specified to define the Z-up orientation of the stage. Map based, physics based, and digital twin based simulation can all benefit from establishing a defacto Up direction. Z maybe non-standard to some, but it makes a lot of sense when factoring in real world coordinates. (i.e. mapping coordinates are: lat, lng, height | x,y,z)
Examples#
# Invalid: No upAxis specified
#usda 1.0
(
)
# Invalid: Y-up specified
#usda 1.0
(
upAxis = "Y"
)
# Valid: Z-up specified
#usda 1.0
(
upAxis = "Z"
)
How to comply#
Set stage upAxis value to āZā
This ensures Z-up orientation for the stage