Platforms to show: All Mac Windows Linux Cross-Platform
SCNPhysicsBallSocketJointMBS class
Super class: SCNPhysicsBehaviorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | SceneKit | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
A ball and socket joint has three rotational degrees of freedom and zero translational degrees of freedom. You can also use a ball and socket joint to pin a body to a specific location in the coordinate space of the node containing it while allowing it to rotate freely.
Available in MacOS 10.10.
Subclass of the SCNPhysicsBehaviorMBS class.
- 4 properties
- property anchorA as SCNVector3MBS
- property anchorB as SCNVector3MBS
- property bodyA as SCNPhysicsBodyMBS
- property bodyB as SCNPhysicsBodyMBS
- 2 methods
- method Constructor(body as SCNPhysicsBodyMBS, anchor as SCNVector3MBS)
- method Constructor(bodyA as SCNPhysicsBodyMBS, anchorA as SCNVector3MBS, bodyB as SCNPhysicsBodyMBS, anchorB as SCNVector3MBS)
- 2 shared methods
- shared method jointWithBody(body as SCNPhysicsBodyMBS, anchor as SCNVector3MBS) as SCNPhysicsBallSocketJointMBS
- shared method jointWithBody(bodyA as SCNPhysicsBodyMBS, anchorA as SCNVector3MBS, bodyB as SCNPhysicsBodyMBS, anchorB as SCNVector3MBS) as SCNPhysicsBallSocketJointMBS
Super class SCNPhysicsBehaviorMBS
- property Handle as Integer
- method Constructor Private
This class has no sub classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
SCNNodeMBS - SCNPhysicsBehaviorMBS