Object -> Object Collision (p5) | SoloLearn: Learn to code for FREE!


Object -> Object Collision (p5)

Can someone help me with the ball -> paddle collision. I don't understand where my mistake is. I used dist() and the object radii but no reaction. (Last few lines on the JS section, marked with comment) ODLNT? (sorry for asking again!) https://code.sololearn.com/W9Bj7fadwvo6/?ref=app

5/2/2019 7:23:23 AM

Clueless Coder

4 Answers

New Answer


Coder Thank you. I'll be taking a break from game dev as I barely understood what just happened! You are a massive help seriously! 😊


Coder Yes, thank you everyone for your patience.


Have a visit on this.... http://bit.ly/code-explained-ping-pong