How To Make a Bullet Hit a Moving Target

Hello,
I was wondering how I would be able to make a bullet moving at a constant velocity hit a target moving a constant velocity. I know there is math for it but I can’t quite find what I am looking for.

2 Likes

Found on google

There’s an implementation at the bottom that you can probably easily translate to lua

1 Like