Platforms to show: All Mac Windows Linux Cross-Platform
SCNPhysicsSliderJointMBS 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 slider joint can have zero, one, or two degrees of freedom depending on whether you allow it to slide or rotate. You can also use a slider joint to pin a body so that it can move only by sliding a specific axis in the coordinate space of the node containing it. You can also use a slider joint as a motor, applying a force or torque to the bodies it connects.
Subclass of the SCNPhysicsBehaviorMBS class.
- 14 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
- property maximumAngularLimit as Double
- property maximumLinearLimit as Double
- property minimumAngularLimit as Double
- property minimumLinearLimit as Double
- property motorMaximumForce as Double
- property motorMaximumTorque as Double
- property motorTargetAngularVelocity as Double
- property motorTargetLinearVelocity as Double
- 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 SCNPhysicsSliderJointMBS
- shared method jointWithBody(bodyA as SCNPhysicsBodyMBS, axisA as SCNVector3MBS, anchorA as SCNVector3MBS, bodyB as SCNPhysicsBodyMBS, axisB as SCNVector3MBS, anchorB as SCNVector3MBS) as SCNPhysicsSliderJointMBS
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.
SCNPhysicsShapeMBS - SCNPhysicsVehicleMBS