orient(named:on:orientationWeight:)
Creates a constraint with only an orientation demand.
Declaration
static func orient(named name: String, on jointName: String, orientationWeight: SIMD3<Float> = [1, 1, 1]) -> IKRig.ConstraintParameters
- name:
The rig unique name of the constraint
- jointName:
The name of the joint to constrain.
- orientationWeight:
The weight of the orientation demand.