<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/IKRig/Constraint/lookAtAbsolute(named:on:lookingAlong:orientationWeight:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation5IKRigV10ConstraintV14lookAtAbsolute5named2on12lookingAlong17orientationWeightAESS_SSs5SIMD3VySfGAMtFZ"
  },
  "title" : "lookAtAbsolute(named:on:lookingAlong:orientationWeight:)"
}
-->

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

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

```
static func lookAtAbsolute(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 model space
of the entity.

`orientationWeight`

The weight of the orientation demand.

## Discussion> Seealso: `IKOrientationDemand.Mode.absoluteLookAt`

---

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)