Posted October 8, 20204 yr Anyone know how to make the projectile not be affected by gravity? I did the "this.setNoGravity(true)", but it doesn't seem to work. I dunno if I set it in the wrong spot or not or something else. Here's my code: https://pastebin.com/wu1sN93q
October 8, 20204 yr You are only setting no gravity in one constructor, which means that if you create the projectile with one of the other constructors, gravity will still be on.
October 8, 20204 yr Author 16 minutes ago, vemerion said: You are only setting no gravity in one constructor, which means that if you create the projectile with one of the other constructors, gravity will still be on. That worked, thank you!!
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.