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

in Engine by (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.

by (318 points)
selected by

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.
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 webmaster@godotengine.org with your username.