0 votes

We have multiple scenes in scenes, something like this:
MainScene
-ComplexObj
--SimpleObj
---UniversalPartOfObj
Every scene is rotated by different amounts via standard transform. We need to know final rotation of UniversalPartOfObj, but when we use rotation in code it shows just rotation of UniversalPartOfObj.
Sorry if it is hard to understand what we mean.

Godot version v.3.5.1
in Engine by (15 points)

1 Answer

+1 vote
Best answer

Sounds like you just want the global_rotation value of the UniversalPartOfObj node. So, just grab the value of that property.

by (19,292 points)
selected by

Thank you! It is exactly what we need!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.