+ 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?

20th Feb 2021, 1:13 PM
WileyR
WileyR - avatar
2 Answers
+ 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
20th Feb 2021, 4:14 PM
WileyR
WileyR - avatar