Platforms to show: All Mac Windows Linux Cross-Platform

Back to SCNPhysicsVehicleWheelMBS class.

SCNPhysicsVehicleWheelMBS.Axle 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 direction of the axis that the wheel spins around to move the vehicle.

This vector is expressed in the coordinate space of the node containing the vehicle’s chassis. The default axle direction is {-1.0, 0.0, 0.0}.
(Read and Write property)

SCNPhysicsVehicleWheelMBS.ConnectionPosition 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 position of the wheel’s connection to the vehicle’s chassis.

This vector is expressed in the coordinate space of the node containing the vehicle’s chassis. When you create a wheel from a node, SceneKit uses the node’s position property as the wheel’s connection point.
(Read and Write property)

SCNPhysicsVehicleWheelMBS.FrictionSlip 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 traction between the wheel and any surface in contact with it.

The default value of this property is 1.0. Lower values result in better traction, and higher values make the wheel more likely to slip (causing it to spin freely instead of moving the vehicle).
(Read and Write property)

SCNPhysicsVehicleWheelMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Internal object reference.

(Read and Write property)

SCNPhysicsVehicleWheelMBS.MaximumSuspensionForce 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 force of the suspension between the vehicle and the wheel, in newtons.

The physics simulation applies a force of no greater than this magnitude when contact with the ground causes the wheel to move relative to the vehicle. The default maximum suspension force is 6000.0.
(Read and Write property)

SCNPhysicsVehicleWheelMBS.MaximumSuspensionTravel 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 that the wheel is allowed to move up or down relative to its connection point, in centimeters.

Travel is the total distance a wheel is allowed to move (in both directions), in the coordinate system of the node containing the vehicle’s chassis. The default suspension travel is 500.0.
(Read and Write property)

SCNPhysicsVehicleWheelMBS.Node as SCNNodeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SceneKit MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The node providing the wheel’s visual representation.

SceneKit automatically rotates and repositions this node in response to the physics simulation.
(Read only property)

SCNPhysicsVehicleWheelMBS.Radius 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 radius of the wheel.

When you create a wheel from a node, its default radius is half of the largest dimension of the node’s bounding box. (A wheel is always circular, even if the content of the node representing it is not.)
(Read and Write property)

SCNPhysicsVehicleWheelMBS.SteeringAxis 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 direction of the axis that the wheel pivots around to steer the vehicle.

This vector is expressed in the coordinate space of the node containing the vehicle’s chassis. The default steering axis is {0.0, -1.0, 0.0}.
When you steer a wheel using the vehicle’s setSteeringAngle() method, the wheel pivots relative to this axis. For example, you can implement a vehicle whose rear wheels steer opposite its front wheels by reversing this vector’s direction for the rear wheels and then applying the same steering angle to all wheels.
(Read and Write property)

SCNPhysicsVehicleWheelMBS.SuspensionCompression 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 coefficient that limits the speed of the suspension returning to its rest length when compressed.

The default suspension coefficient is 4.4. Lower values cause the wheel to return to its natural position more quickly.
(Read and Write property)

SCNPhysicsVehicleWheelMBS.SuspensionDamping 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 damping ratio that limits oscillation in the vehicle’s suspension.

Damping ratio measures the tendency of the suspension to oscillate after a shock—in other words, for the vehicle to bounce up and down after running over a bump. The default damping ratio of 2.3 causes the wheel to return to its neutral position quickly after a shock. Values lower than 1.0 result in more oscillation.
(Read and Write property)

SCNPhysicsVehicleWheelMBS.SuspensionRestLength 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 resting length of the suspension, in meters.

This property measures the length of the simulated spring between the vehicle and its wheel when the spring is not stressed by the weight of either body. When the wheel receives a shock (for example, when the vehicle runs over a bump), SceneKit adds the difference between the wheel’s current position and its connection position to this rest length and then applies a force between the wheel and vehicle proportional to the total.
(Read and Write property)

SCNPhysicsVehicleWheelMBS.SuspensionStiffness 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 spring coefficient of the suspension between the vehicle and the wheel.

The spring coefficient determines both how quickly the wheel returns to its natural position after a shock (for example, when the vehicle runs over a bump) and how much force from the shock it transmits to the vehicle. The default spring coefficient is 2.0.
(Read and Write property)

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


The biggest plugin in space...