How to make an object face the same way as another? (3D)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By thewraithmod

I do not want to use anything like look_at() because I am not trying to make the object (in this case a bullet) look towards anything.

I want the bullet, upon spawning, to face the same direction that the camera is facing.

:bust_in_silhouette: Reply From: Bartosz

You could try copying rotation data from global_transform.basis.get_euler() of one object to another. Or if they are children of the same node just rotation