SCNPhysicsShape.Option
Keys for the options dictionary used when creating a physics shape.
Declaration
struct OptionDiscussion
When SceneKit creates a shape from a hierarchy of nodes containing multiple geometries, the keepAsCompound option takes precedence over the type option.
For example, if you have a node hierarchy containing several geometries, setting the the type option to boundingBox and the keepAsCompound option to true creates a shape that is a combination of several boxes. This approach can provide better simulation performance than converting the entire node hierarchy to a single concave polyhedron shape.