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 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 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 |
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 |
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 |
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 |
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.