Circle/segment collision detection and response | Sololearn: Learn to code for FREE!

+2

Circle/segment collision detection and response

I have this code https://code.sololearn.com/WKtDeOV3992T/?ref=app and I need help with the collisions between the ship (circle collider) and the lines (segment collider). Anybody know how to implement circle/segment collision?

2/20/2021 1:13:21 PM

WileyR

2 Answers

New Answer

+1

thanks! i assume you’re referring to bounding boxes as predetection, but as this is not that large of a project for me, i’ll look into the articles