Platforms to show: All Mac Windows Linux Cross-Platform

Back to SCNPhysicsSliderJointMBS class.

SCNPhysicsSliderJointMBS.anchorA as SCNVector3MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The point at which the joint connects, relative to the node containing the first body.

(Read and Write property)

SCNPhysicsSliderJointMBS.anchorB as SCNVector3MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The point at which the joint connects, relative to the node containing the second body.

(Read and Write property)

SCNPhysicsSliderJointMBS.axisA as SCNVector3MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The axis along which the first body can slide, relative to the node containing it.

(Read and Write property)

SCNPhysicsSliderJointMBS.axisB as SCNVector3MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The axis along which the second body can slide, relative to the node containing it.

(Read and Write property)

SCNPhysicsSliderJointMBS.bodyA as SCNPhysicsBodyMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The first physics body connected by the joint.

(Read only property)

SCNPhysicsSliderJointMBS.bodyB as SCNPhysicsBodyMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The second physics body connected by the joint.

This property’s value is nil if the joint was created using the jointWithBody method.
(Read only property)

SCNPhysicsSliderJointMBS.maximumAngularLimit as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The maximum rotation angle between the two bodies, measured in radians relative to their initial orientations.

The default (and maximum) value of this property is M_PI. With this value, the joint can spin counterclockwise (relative to the first body) with no limit.
Set both this property and the maximumAngularLimit property to the same value to prevent the bodies from rotating around their anchor points. (Set both properties to 0.0 to fix the bodies in their initial orientations.) Bodies whose orientation is fixed by a sliding joint may still slide, depending on the values of the minimumLinearLimit and maximumLinearLimit properties.
(Read and Write property)

SCNPhysicsSliderJointMBS.maximumLinearLimit as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The maximum distance between the anchor points of the two bodies, relative to their initial positions.

The default value of this property is INFINITY. With this value, the joint can slide forever in the direction of the slider axis.
Set both this property and the minimumLinearLimit property to the same value to pin the bodies together at their anchor points. (Set both properties to 0.0 to pin the bodies together at their initial positions.) Bodies pinned together by a sliding joint may still rotate, depending on the values of the minimumAngularLimit and maximumAngularLimit properties.
(Read and Write property)

SCNPhysicsSliderJointMBS.minimumAngularLimit as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The minimum rotation angle between the two bodies, measured in radians relative to their initial orientations.

The default (and minimum) value of this property is -M_PI. With this value, the joint can spin clockwise (relative to the first body) with no limit.
Set both this property and the maximumAngularLimit property to the same value to prevent the bodies from rotating around their anchor points. (Set both properties to 0.0 to fix the bodies in their initial orientations.) Bodies whose orientation is fixed by a sliding joint may still slide, depending on the values of the minimumLinearLimit and maximumLinearLimit properties.
(Read and Write property)

SCNPhysicsSliderJointMBS.minimumLinearLimit as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The minimum distance between the anchor points of the two bodies, relative to their initial positions.

The default value of this property is -INFINITY. With this value, the joint can slide forever in the direction opposite the slider axis.
Set both this property and the maximumLinearLimit property to the same value to pin the bodies together at their anchor points. (Set both properties to 0.0 to pin the bodies together at their initial positions.) Bodies pinned together by a sliding joint may still rotate, depending on the values of the minimumAngularLimit and maximumAngularLimit properties.
(Read and Write property)

SCNPhysicsSliderJointMBS.motorMaximumForce as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The maximum linear force that the joint can apply to its connected bodies, in newtons.

When you change the value of the motorTargetLinearVelocity property, the joint continuously applies a force of no greater than this magnitude until the bodies are moving at the target velocity. The default value is 1.0.
(Read and Write property)

SCNPhysicsSliderJointMBS.motorMaximumTorque as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The maximum torque that the joint can apply to its connected bodies, in newton-meters.

When you change the value of the motorTargetAngularVelocity property, the joint continuously applies a force of no greater than this magnitude until the bodies are rotating around the joint at the target angular velocity. The default value is 1.0.
(Read and Write property)

SCNPhysicsSliderJointMBS.motorTargetAngularVelocity as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The angular velocity at which the joint’s connected bodies should rotate around it.

At the default value of 0.0, the joint moves only when an external force acts on one of its connected bodies. Changing this value causes the joint to act as a rotary motor, continuously applying a torque (specified by the motorMaximumTorque property) until its connected bodies are rotating around the joint at the new angular velocity.
(Read and Write property)

SCNPhysicsSliderJointMBS.motorTargetLinearVelocity as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The velocity at which the joint’s connected bodies should slide.

At the default value of 0.0, the joint moves only when an external force acts on one of its connected bodies. Changing this value causes the joint to act as a linear motor, continuously applying a force (specified by the motorMaximumForce property) until its connected bodies are moving along the sliding axis of the joint at the new velocity.
(Read and Write property)

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


The biggest plugin in space...