[Solved] Bullet not shooting in correct direction!

I love you ( No homo, unless you’re homo so that’s cool too I guess Chest Tap RESPECT.) That is ALL that I needed. To use floats. I am stuck on how such a small change can make a world of difference, thank you for teaching me something new! ;D

That was the main difference between your math code and mine. I almost always stick with float values, especially because the Vector2 class uses floats as well. Sorry I had overlooked that part and completely missed the idea you were casting (int) to your calculations.

I’m glad we were able to help you with your problem and that you have successfully fixed it.

Happy Programming!

Weird, all my code like this, I Negate it lol. If I don’t it shoots opposite.

That probably means you have the source/goal mixed up in your subtraction. It’s not the end of the world, just one extra step you don’t really need.

Omg thank you, I had it mixed up in all my projects. How the hell did I miss that! Fail :(.