Contents

init(weight:boneAxis:minimumAngles:maximumAngles:)

Creates a joint limits definition.

Declaration

init(weight: Float = 1.0, boneAxis: IKRig.Joint.LimitsDefinition.Axis = .x, minimumAngles: SIMD3<Float> = [-2.0 * .pi, -2.0 * .pi, -2.0 * .pi], maximumAngles: SIMD3<Float> = [2.0 * .pi, 2.0 * .pi, 2.0 * .pi])

Parameters

  • weight:

    The weight of the joint rotation limit demand.

  • boneAxis:

    The axis around which the bone twists.

  • minimumAngles:

    The negative delta from the rest pose per-axis in radians.

  • maximumAngles:

    The positive delta from the rest pose per-axis in radians.

Discussion