Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account for acceleration and drag #2

Merged

Conversation

Amazinite
Copy link

@Amazinite Amazinite commented Apr 21, 2022

This simplifies the existing code while retaining the same behavior with non-accelerating projectiles, plus an accounting for accelerating projectiles.

Not working perfectly just yet but it's something.
Just follow my own advice and *don't touch the velocity of the firing ship.*
@DeBlister
Copy link
Owner

To me it looks like your PR changes things from working on speed and applying it to inaccuracy when you use it to working on velocity with inaccuracy baked in and including acceleration projectiles. It looks cleaner and I didn't really have a gripe with acceleration projectiles before, so I looks fine to me and I'll merge it.

Side note: I'm pretty sure none of the weird stuff you posted in Discord happens without drag.

@DeBlister DeBlister merged commit 8152b43 into DeBlister:Submunition_Velocity_Fix Apr 22, 2022
@Amazinite Amazinite deleted the submunition-review branch April 22, 2022 05:59
DeBlister added a commit that referenced this pull request May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants