I have a CFrame cf
and I want to calculate the angle between its rotation and the identity rotation (0, 0, 0). How would I go about doing this?
The idea of a single angle describing a CFrame transformation on its own doesn’t make sense mathematically. Maybe you’re looking for:
- A single angle between one vector and another; or
- An axis-angle representation of a CFrame/transformation; or
- The set of (3) angles to apply in a particular order to construct (the rotational part of) a CFrame?
Sorry, I meant the angle between 2 vectors.
There are a lot of posts that have answered this already (searching for ‘angle between vectors’ will pull them up). For example:
https://devforum.roblox.com/t/how-would-i-check-the-angles-between-two-vectors/35008