0 votes

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.

in Engine by (27 points)

1 Answer

0 votes

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

by (1,024 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.