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

Player and Atom collision #9

Open
beghelli opened this issue Mar 15, 2023 · 0 comments
Open

Player and Atom collision #9

beghelli opened this issue Mar 15, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@beghelli
Copy link
Owner

Whenever an atom collides with the player without the player being able to collect it (see #8 ), then we have a player and atom collision.

The atom should behave like it is colliding with a neutron (see #7 ) (change direction based on its own direction, mass and velocity and the direction, mass and velocity of the player).

The player should spend energy to be able to absorb and support the collision, suffering the same physical effects that the atom.

@beghelli beghelli added the enhancement New feature or request label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant