JeremyLeland / SectorC37

A top-down space shooting game
0 stars 0 forks source link

Use line segments instead of circles for collision detection #34

Closed JeremyLeland closed 1 year ago

JeremyLeland commented 2 years ago

The difference between bounding circle and actual ship outline is more obvious with larger and more complicated ships. Bullets end and throw sparks in the space to the side of ships. This would look better if we used several segments that more closely approximate the ship/rock shape.

Bounding circles should still be fine for avoidance.

JeremyLeland commented 1 year ago

We do this with BoundingLines now