IKRig.Constraint.IKOrientationDemand.Mode.absoluteLookAt(targetAxis:)
A mode which computes the rotation target as absolute look-at.
Declaration
case absoluteLookAt(targetAxis: SIMD3<Float>)Parameters
- targetAxis:
The unit vector from the joint to the look-at target defined in the model space of the entity.
Demand target
- Source
The model space orientation of the constrained joint from the FK demands pose.
- Target
The model space orientation aligning the associated
targetAxiswith the direction from the current model space joint position to lookAtTargetPosition.
The rotation weight of animationOverrideWeight determines how the rotation target is calculated:
A weight of
0uses theSource.A weight of
1uses theTarget.A weight between
0and1results in a spherical linear interpolation between theSourceandTarget.