0 votes

Using this project:
https://docs.godotengine.org/en/latest/tutorials/physics/using_kinematic_body_2d.html#bouncing-reflecting

i wonder how to make the most effective way to set max gun range, or most basic way, I'm new with programming, thank you for helping

asked May 29 in Projects by mohammad nanda (21 points)

1 Answer

0 votes
Best answer

Just make a timer that sets itself to zero when you shoot the bullet and then when the timer has counted to a specific number just tell the bullet to destroy itself.

answered May 29 by Coxcopi (229 points)
selected May 31 by mohammad nanda

oh i see, that will work! thank you

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 How to use this Q&A? before posting your first questions.