Modify Quaternion value

Hi, everyone.

I have two objects. One of them receive rotation from another. But I want to multiply receiving rotation value by 0.5 (For Example). Euler modification is not the case because of negative to positive degree jumping

Maybe there is some solution to extract rotation angle from Quaternion => modify this angle => transform modified angle back to Quaternion. But I have 0 progress with Quarternion.Angle and Quaternion.AngleAxis

Thanks for any ideas!

  1. Convert the receiving object’s rotation quaternion to an angle-axis representation with Quaternion.ToAngleAxis

  2. Modify the rotation angle by the desired factor (e.g., 0.5 in your example).

  3. Convert the modified angle-axis representation back to a quaternion with Quaternion.AngleAxis

  4. Apply the modified quaternion to the receiving object’s rotation.