Change Anchor Point of 3D Object

Godot Version

4.2.1-stable

Question

I’m trying to precisely position objects in 3D space, and would like to be able to position something at 0,0,0, give it a height of 2, and then have it take up space from 0,0,0 up to 0,2,0. With Godot having everything centred, this is incredibly difficult - it would be centred around 0,0,0, and take up space between 0,-1,0, and 0,1,0. Is there a workaround for this?

There’s no such concept in 3D, you can achieve this by creating a new Node3D as the parent of some collection of nodes as a reference

I see… How would that work? Could you give an example? I know how to add nodes, obviously, but what do you mean by “as a reference”?

So for example, you want two shoulders of your character to be at the same level and moved together, create a new node as the parent of those, so then you can make shoulder_left at {1,0,0} and shoulder_right at {-1,0,0} under a shoulders at {0,1,0}

But generally there’s no anchor directly

1 Like

Right, okay… well, thanks for your help :slight_smile:

1 Like