Contents

point(named:on:positionWeight:)

Creates a constraint with only a positional demand.

Declaration

static func point(named name: String, on jointName: String, positionWeight: SIMD3<Float> = [1, 1, 1]) -> IKRig.Constraint

Parameters

  • name:

    The rig unique name of the constraint

  • jointName:

    The name of the joint to constrain.

  • positionWeight:

    The weight of the position demand.