The AimModifier3D rotates a bone to look at a reference bone.
This is a simple version of LookAtModifier3D that only allows bone to the reference without advanced options such as angle limitation or time-based interpolation.
The feature is simplified, but instead it is implemented with smooth tracking without euler, see set_use_euler().
Returns the axis of the first rotation. It is enabled only if is_using_euler() is true.
Returns true if it provides rotation by two axes. It is enabled only if is_using_euler() is true.
Sets the axis of the first rotation. It is enabled only if is_using_euler() is true.
Sets relative option in the setting at index to enabled.
If sets enabled to true, the rotation is applied relative to the pose.
If sets enabled to false, the rotation is applied relative to the rest. It means to replace the current pose with the AimModifier3D's result.
If sets enabled to true, it provides rotation with using euler.
If sets enabled to false, it provides rotation with using rotation by arc generated from the forward axis vector and the vector toward the reference.
If sets enabled to true, it provides rotation by two axes. It is enabled only if is_using_euler() is true.