Posted October 11, 20204 yr I'm trying make my item shoot three projectiles in a row, but just having issues with the numbers. It works when facing certain angles but doesn't anywhere else. Any help? https://pastebin.pl/view/17e64e8a
October 11, 20204 yr Makes sense, you aren't rotating the vector on the XZ-plane. You're expecting that only moving one coordinate instead of both will have the correct effect. If you wanted to do that, you would need to construct a rotation matrix and rotate around the Y-axis. Determine the number of degrees you want to rotate by and boom, you have your corrected vectors.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.