---
title: "lookAtAdditive(named:on:lookingAlong:orientationWeight:)"
framework: realitykit
role: symbol
role_heading: Type Method
path: "realitykit/ikrig/constraint/lookatadditive(named:on:lookingalong:orientationweight:)"
---

# lookAtAdditive(named:on:lookingAlong:orientationWeight:)

Creates a constraint with only an orientational demand in additive look-at mode.

## Declaration

```swift
static func lookAtAdditive(named name: String, on jointName: String, lookingAlong targetAxis: SIMD3<Float>, orientationWeight: SIMD3<Float> = [1, 1, 1]) -> IKRig.Constraint
```

## Parameters

- `name`: The rig unique name of the constraint
- `jointName`: The name of the joint to constrain.
- `targetAxis`: The axis from the constrained joint to look-at target position in the local space of the joint.
- `orientationWeight`: The weight of the orientation demand.

## Discussion

Discussion note: IKOrientationDemand.Mode.additiveLookAt
