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