One possible solution I found:
(r2 * Quaternion.Inverse(r1)).eulerAngles.Y
More Related Contents:
- Make a sphere with equidistant vertices
- How to bringback an object to its original position after rotation in unity?
- Making an XY line chart in Unity with C#
- Random.Next returns always the same values [duplicate]
- How to tell whether a point is to the right or left side of a line
- Accessing a variable from another script C# [duplicate]
- Unity game manager. Script works only one time
- Mod of negative number is melting my brain
- Unity singleton manager classes
- What is the easiest way to subtract time in C#?
- Can’t change GameObject color via script?
- Read and Write file on streamingAssetsPath
- How to make Texture2D Readable via script
- Calculating point on a circle’s circumference from angle in C#?
- Use the dynamic keyword/.NET 4.6 feature in Unity
- Piecewise linear integer curve interpolation in C#/Unity3D
- Performing Math operations on decimal datatype in C#?
- Start android service from Unity3D code
- Copy files from Resources/StreamingAssets to Application.persistentDataPath upon installation
- How to add Speech Recognition to Unity project? [closed]
- UnassignedReferenceException even though using the null-conditional operator
- Declaring a new instance of a class in C#
- What’s the quickest way to compute log2 of an integer in C#?
- Move/Shift Objects in array up then move the first element to the last index [closed]
- How to find child of a GameObject or the script attached to child GameObject via script
- Unity 2d jumping script
- Arbitrary precision decimals in C#?
- Handle touches not started on the UI
- Basic render 3D perspective projection onto 2D screen with camera (without opengl)
- Why does Math.Exp give different results between 32-bit and 64-bit, with same input, same hardware