Type Property

concavePolyhedron

The physics shape is a concave polyhedron closely following the surface of the geometry.

Declaration

static let concavePolyhedron: SCNPhysicsShape.ShapeType

Discussion

This option provides the highest level of detail, at a high cost to simulation performance. Use it only for irregularly shaped bodies where precise collision behavior is crucial to your app’s design.

This shape type may only be used for static physics bodies (that is, those whose type property is SCNPhysicsBodyType.static).