convertToYUp
An option for whether to transform assets loaded from the scene file for use in a coordinate system where the y-axis points up.
Declaration
static let convertToYUp: SCNSceneSource.LoadingOptionDiscussion
The value for this key is an NSNumber object containing a Boolean value. The default value is false.
SceneKit’s physics simulation works best when the y-axis of scene coordinate space corresponds to the “up” direction of the physics world. Some external 3D authoring tools use coordinate systems where a different axis points up. Specify true for this key to automatically transform all scene elements loaded from the file based on the SCNSceneSourceAssetUpAxisKey value stored in the file.
This option has no effect for assets compressed by Xcode. Instead, use Xcode itself to transform coordinate spaces when compressing the assets.