Add a <forward_direction> member in <Node3D> #6053
jiaxiongjiao
started this conversation in
3D
Replies: 2 comments 1 reply
-
This would just be sugar for using You can also get this from Correction, realized you need to transform by the basis or you will get the translation |
Beta Was this translation helpful? Give feedback.
1 reply
-
There's already a proposal for this: #5074 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, for the Node3D type, can we have some kind of <forward_direction> variable that uses a normalized Vector3D value to represent +Z vector value of a Node3D object in world space? So basically the same concept as
Transform.forward
in Unity.https://docs.unity3d.com/ScriptReference/Transform-forward.html
Beta Was this translation helpful? Give feedback.
All reactions