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

Projectiles can fly through ships #8

Open
dcki opened this issue Jun 13, 2014 · 0 comments
Open

Projectiles can fly through ships #8

dcki opened this issue Jun 13, 2014 · 0 comments
Labels

Comments

@dcki
Copy link
Owner

dcki commented Jun 13, 2014

If a projectile is moving fast enough, it can pass through a ship by having its position updated from one side of the ship to the other.

Instead of checking if a projectile overlaps a ship, will need to check if the ship intersects any part of the line segment described by the projectile's start and end points.

@dcki dcki added the bug label Jun 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant