Type Alias

SCNPhysicsTestOption

Keys in options dictionaries that affect how SceneKit searches for bodies in a collision, ray, or sweep test.

Declaration

typedef NSString *SCNPhysicsTestOption;

Discussion

Pass a dictionary containing one or more of these keys (with values as described above) for the options parameter when calling one of these methods:

Topics

Type Properties

SCNPhysicsTestBackfaceCullingKey

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

SCNPhysicsTestCollisionBitMaskKey

The key for selecting which categories of physics bodies that SceneKit should test for contacts.

SCNPhysicsTestSearchModeKey

The key for selecting the number and order of contacts to be tested.

SCNPhysicsTestSearchMode

Options affecting how SceneKit searches for bodies in a collision, ray, or sweep test, used with the SCNPhysicsTestSearchModeKey key.