i am stupid -- cant shoot bullet where player is looking.

Godot Version

newest? 4.5.1?

Question

how would i shoot a bullet where the player is looking in a 3d scene? i know how to move it forward on the x or z but dont know how to shoot it where the player is looking

print("help me")

This is not enough information for anyone to help you. Please show relevant code and your node structure.

You set the bullet’s velocity to a magnitude * (player_camera.global_transform.basis.z).normalized

2 Likes