How to do transform.position (Unity) in Godot?

Godot Version

I’ve tried Transform.origin, Transform.basis, global_transform.origin, GlobalTransform.origin, Transform3D.origin, Node3D.origin and who knows how many other variants with the help of chatGPT and the official documentation, but it simply doesn’t work.

Question

How to do it?

1 Like

I already tried Transform.global_position, Node3D.global_position and just position, but it doesn’t work…

I think I already fixed it, but am not sure. What I did is this: baseNode.GlobalPosition. It doesn’t mark any errors. Is this the… global position? (in Unity, by putting this.transform.position you could get the global position of the origin of this script)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.