![]() Any shooting or bullet tutorial should show you how to handle bullets. You can now use shoot_direction as a vector to set the direction of your bullet when you spawn it. Shoot_direction.y = +Input.get_action_strength("shoot_down") - Input.get_action_strength("shoot_up") Shoot_direction.x = -Input.get_action_strength("shoot_left") + Input.get_action_strength("shoot_right")
0 Comments
Leave a Reply. |