Houdini 20.0 Nodes APEX Nodes

quaternion::SwingTwistInterpolate

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

On this page
Since 20.0

By default, the underlying decomposition is Swing*Twist.

Inputs

a

Vector4 representing the starting quaternion

b

Vector4 representing the ending quaternion

axis

The axis used in the Swing Twist decomposition

bias

The amount to interpolate

swing_bias_scale

How much swing to include in the interpolation

twist_bias_scale

How much twist to include in the interpolation

reverse

If true, the underlying decomposition will be Twist*Swing

Outputs

result

Vector4 representing the interpolated quaternion

APEX Nodes