Platforms to show: All Mac Windows Linux Cross-Platform
SCNPhysicsHingeJointMBS 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 hinge has a single degree of freedom (rotation). You can also use a hinge joint to pin a body so that it can only move by rotating around a specific axis in the coordinate space of the node containing it.
Available in MacOS 10.10 or newer.
Subclass of the SCNPhysicsBehaviorMBS class.
- 6 properties
- property anchorA as SCNVector3MBS
- property anchorB as SCNVector3MBS
- property axisA as SCNVector3MBS
- property axisB as SCNVector3MBS
- property bodyA as SCNPhysicsBodyMBS
- property bodyB as SCNPhysicsBodyMBS
- 2 methods
- method Constructor(body as SCNPhysicsBodyMBS, axis as SCNVector3MBS, anchor as SCNVector3MBS)
- method Constructor(bodyA as SCNPhysicsBodyMBS, axisA as SCNVector3MBS, anchorA as SCNVector3MBS, bodyB as SCNPhysicsBodyMBS, axisB as SCNVector3MBS, anchorB as SCNVector3MBS)
- 2 shared methods
- shared method jointWithBody(body as SCNPhysicsBodyMBS, axis as SCNVector3MBS, anchor as SCNVector3MBS) as SCNPhysicsHingeJointMBS
- shared method jointWithBody(bodyA as SCNPhysicsBodyMBS, axisA as SCNVector3MBS, anchorA as SCNVector3MBS, bodyB as SCNPhysicsBodyMBS, axisB as SCNVector3MBS, anchorB as SCNVector3MBS) as SCNPhysicsHingeJointMBS
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.
SCNPhysicsFieldMBS - SCNPhysicsShapeMBS