<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNPhysicsVehicle",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNPhysicsVehicle"
  },
  "title" : "SCNPhysicsVehicle"
}
-->

# SCNPhysicsVehicle

A physics behavior that modifies a physics body to behave like a car, motorcycle, or other wheeled vehicle.

```
class SCNPhysicsVehicle
```

## Overview

To build a vehicle, designate an [`SCNPhysicsBody`](/documentation/SceneKit/SCNPhysicsBody) object as its chassis and an array of [`SCNPhysicsVehicleWheel`](/documentation/SceneKit/SCNPhysicsVehicleWheel) objects as its wheels. For each wheel, you define physical characteristics such as suspension and traction, and associate a node in your scene to provide the wheel’s size and visual representation. After you construct a vehicle, you can control it in terms of acceleration, braking, and steering.

Although it’s also possible to use a set of physics bodies and joints to collectively simulate a wheeled vehicle, the [`SCNPhysicsVehicle`](/documentation/SceneKit/SCNPhysicsVehicle) class implements a higher-level simulation that provides realistic vehicle behavior with more efficient simulation performance.

## Topics

### Creating a Vehicle

[`+  vehicleWithChassisBody:wheels:`](/documentation/SceneKit/SCNPhysicsVehicle/init(chassisBody:wheels:))

Creates a vehicle behavior.

### Working with a Vehicle’s Physical Characteristics

[`chassisBody`](/documentation/SceneKit/SCNPhysicsVehicle/chassisBody)

The physics body representing the vehicle’s chassis.

[`wheels`](/documentation/SceneKit/SCNPhysicsVehicle/wheels)

An array of [`SCNPhysicsVehicleWheel`](/documentation/SceneKit/SCNPhysicsVehicleWheel) objects representing the vehicle’s wheels.

### Driving a Vehicle

[`-  applyEngineForce:forWheelAtIndex:`](/documentation/SceneKit/SCNPhysicsVehicle/applyEngineForce(_:forWheelAt:))

Applies a force between the specified wheel and the ground under the vehicle.

[`-  applyBrakingForce:forWheelAtIndex:`](/documentation/SceneKit/SCNPhysicsVehicle/applyBrakingForce(_:forWheelAt:))

Applies a force between the specified wheel and the ground under the vehicle.

[`-  setSteeringAngle:forWheelAtIndex:`](/documentation/SceneKit/SCNPhysicsVehicle/setSteeringAngle(_:forWheelAt:))

Pivots the specified wheel around its steering axis.

[`speedInKilometersPerHour`](/documentation/SceneKit/SCNPhysicsVehicle/speedInKilometersPerHour)

The vehicle’s ground speed, in kilometers per hour.

## Relationships

### Conforms To

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`Hashable`](/documentation/Swift/Hashable)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`CVarArg`](/documentation/Swift/CVarArg)

### Inherits From

[`SCNPhysicsBehavior`](/documentation/SceneKit/SCNPhysicsBehavior)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)