Collision detection

edited September 2017 in Questions about Code

Hi, I am new to processing and I have to submit an assignment regarding motion so I decided to do a moving umbrella under the rain... Now, what I would like and have no idea how to do is to check for collisions between each drop of rain against the umbrella so that they can bounce every time they hit it.

Here is my code

Screen Shot 2017-09-17 at 4.20.56 PM Screen Shot 2017-09-17 at 7.48.21 PM Screen Shot 2017-09-17 at 7.48.47 PM Screen Shot 2017-09-17 at 7.49.14 PM Screen Shot 2017-09-17 at 7.49.29 PM

Answers

Sign In or Register to comment.