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

Power variance #28

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

Power variance #28

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

Comments

@eriktate
Copy link
Owner

Need to adjust the power of a hit based on how "hard" the player swings. I have an idea about how to do this without using real physics. Basically your strength is an always decreasing value (down to 0). Each change of angle of the racket increase your strength a small amount more than the decrease. So a long, slow swing will give you a bit more power than a short, slow swing. A long, fast swing will give you significantly more power.

@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