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

Even better collisions #30

Open
eriktate opened this issue Nov 10, 2018 · 0 comments
Open

Even better collisions #30

eriktate opened this issue Nov 10, 2018 · 0 comments
Assignees

Comments

@eriktate
Copy link
Owner

The racket/ball collisions are a bit better than they were, but they still behave in strange ways given certain factors. I think it would be best to handle trajectory by determining the two normals, the direction vector between the ball and the racket, and then figuring out which normal is closer to the opposite of that direction vector.

@eriktate eriktate self-assigned this Nov 10, 2018
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

No branches or pull requests

1 participant