Translating a local coordinate into world coordinate space.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ugly_cat
:warning: Old Version Published before Godot 3 was released.

I’m trying to place an object “a” in front of object “b”. Object a is always a little bit of ahead of object b and orients itself to the direction of object b. I believe this could be done by orienting object b in object a’s local coordinate space and the translating that into the world coordinate space, but I’m at a loss on how to actually do this in Godot.

:bust_in_silhouette: Reply From: ugly_cat

I found a solution:

If you place an object as a child, that child will inherit its parents local coordinate space.