Houdini 20.5 Nodes APEX nodes

quaternion::SwingTwistInterpolate

Interpolates between two quaternions while interpolating the swing and twist components separately.

On this page
Since 20.0

Interpolates between two quaternions while interpolating the swing and twist components separately. By default, the underlying decomposition is Swing * Twist.

Inputs

a: Vector4

The starting quaternion.

b: Vector4

The ending quaternion.

axis: Vector3
bias: Float

The amount to interpolate.

swing_bias_scale: Float

The amount of swing to include in the interpolation.

twist_bias_scale: Float

The amount of twist to include in the interpolation.

reverse: Bool

If set to True, the underlying decomposition is Twist * Swing.

Outputs

result: Vector4

The interpolated quaternion.

See also

APEX nodes