Skip to content

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

Open
msakuta wants to merge 5 commits intomasterfrom
collision-detection
Open

Fixes #14 Collision detection and reflection to a celestial body#19
msakuta wants to merge 5 commits intomasterfrom
collision-detection

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