Hello. Just a general question. When I use GetComponentRotation it means it’ getting the rotation that is actually the parent’s rotation right? So it’s relative to the parent’s rotation? Which is the camera?
It’s the world rotation of that component.
From the docs:
Return rotation of the component, in world space
Which in turn is affected due to the parent rotating, right?
Right, that hasn’t got much to do with GetComponentRotation()
though. You can use GetRelativeRotation()
to get the relative rotation to its parent.
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.