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

Fixes #14 Collision detection and reflection to a celestial body #19

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

msakuta
Copy link
Owner

@msakuta msakuta commented Jun 28, 2020

The rocket will collide and reflected back when it collides with a celestial body, which has funny effect. It's better than let it go through solid objects :)

msakuta added 2 commits June 28, 2020 22:49
Assuming the object is perfect sphere and perfect elastic collision
(coefficient of restitution = 1).
@msakuta msakuta changed the title Collision detection and reflection to a celestial body Fixes #14 Collision detection and reflection to a celestial body Jun 28, 2020
msakuta added 3 commits June 29, 2020 01:43
By default, the rocket will get stuck on the crash site and shows a message
that the rocket has crashed, but if you check the "bounce on collision", it
will bounce off the surface.
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.

1 participant