Platforms to show: All Mac Windows Linux Cross-Platform

Back to SCNPhysicsWorldMBS class.

SCNPhysicsWorldMBS.SCNPhysicsTestBackfaceCullingKey as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The key for choosing whether to ignore back-facing polygons in physics shapes when searching for contacts.

The value for this key is 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 SCNPhysicsShapeTypeConcavePolyhedron option.

SCNPhysicsWorldMBS.SCNPhysicsTestCollisionBitMaskKey as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The key for selecting which categories of physics bodies that SceneKit should test for contacts.

The value for this key is an unsigned Integer value. SceneKit tests for contacts only with physics bodies whose categoryBitMask property overlaps with this bit mask. The default value is SCNPhysicsCollisionCategoryAll, specifying that searches should test all physics bodies regardless of their category.

SCNPhysicsWorldMBS.SCNPhysicsTestSearchModeAll as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
One of the option values for SCNPhysicsTestSearchModeKey key.

Searches should return all contacts matching the search parameters.

SCNPhysicsWorldMBS.SCNPhysicsTestSearchModeAny as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
One of the option values for SCNPhysicsTestSearchModeKey key.

Searches should return only the first contact found regardless of its position relative to the search parameters.

SCNPhysicsWorldMBS.SCNPhysicsTestSearchModeClosest as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
One of the option values for SCNPhysicsTestSearchModeKey key.

Searches should return only the closest contact to the beginning of the search.

SCNPhysicsWorldMBS.SCNPhysicsTestSearchModeKey as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The key for selecting the number and order of contacts to be tested.

See Physics Test Search Modes for possible values. The default value is SCNPhysicsTestSearchModeAny.
This key applies only to ray and convex sweep tests.

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...