Platforms to show: All Mac Windows Linux Cross-Platform
Back to SCNPhysicsVehicleWheelMBS class.
SCNPhysicsVehicleWheelMBS.Constructor(node as SCNNodeMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | SceneKit | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
node: The node whose contents provide the wheel’s visual representation.
Returns a new wheel object.
The node representing a wheel must be a child of the node whose physics body serves as the chassis of the SCNPhysicsVehicleMBS behavior the wheel is attached to. Each wheel object must reference a unique node. To use the wheel, add it to the vehicle behavior using the addWheel method.
SceneKit uses the node’s bounding box to determine the wheel’s initial size, and it uses the node’s position to determine the where the wheel connects to the vehicle’s chassis. You can change attributes using the radius and connectionPosition properties.
SCNPhysicsVehicleWheelMBS.copy as SCNPhysicsVehicleWheelMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | SceneKit | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The items on this page are in the following plugins: MBS Mac64bit Plugin.