Need help with bullet speed

I am creating a gun system, and I need help with the speed of a bullet.

I use TweenService and set the tween duration to 0.1. If i do so, the speed of the bullet varies based on the distance. I am not smart so I can’t come up with a solution to this.

Any help is appreciated!

The formula for speed is:

Speed = distance / time

Rearranging it

Time = distance / Speed

Distance depends on the magnitude between current position towards the goal position.

Speed you decide yourself.

1 Like