<!--
{
  "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/setSteeringAngle(_:forWheelAt:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNPhysicsVehicle(im)setSteeringAngle:forWheelAtIndex:"
  },
  "title" : "setSteeringAngle(_:forWheelAt:)"
}
-->

# setSteeringAngle(_:forWheelAt:)

Pivots the specified wheel around its steering axis.

```
func setSteeringAngle(_ value: CGFloat, forWheelAt index: Int)
```

## Parameters

`value`

The angle to set the wheel at relative to its steering axis, in radians.

`index`

The index, in the vehicle’s [`wheels`](/documentation/SceneKit/SCNPhysicsVehicle/wheels) array, of the wheel to be pivoted.

## Discussion

Steering angles are relative to the wheel’s [`steeringAxis`](/documentation/SceneKit/SCNPhysicsVehicleWheel/steeringAxis) vector. With the default steering axis of `{0.0, -1.0, 0.0}`, a steering angle of `0.0` represents neutral steering, positive values steer the vehicle to the right, and negative values steer to the left.

---

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)