Type Property


The key for choosing whether to ignore back-facing polygons in physics shapes when searching for contacts.


static let backfaceCulling: SCNPhysicsWorld.TestOption


The value for this key is an NSNumber object containing a Boolean value. The default value is true, specifying that the search should only return contacts with the exterior surfaces of any physics shapes. Change the value to false to consider contacts with both interior and exterior surfaces.

This key applies only to ray and convex sweep tests, and only to physics shapes created using the concavePolyhedron option.