Global Variable

SCNPhysicsShapeKeepAsCompoundKey

An option for selecting whether to create a group of independent shapes or combine them into a single shape.

Declaration

const SCNPhysicsShapeOption SCNPhysicsShapeKeepAsCompoundKey;

Discussion

The value for this key is an NSNumber object containing a Boolean value. The default value is YES, specifying that SceneKit convert separate geometries into separate shapes and join the resulting shapes. If NO, SceneKit creates a single shape approximating the combined form of the geometries.