abraker95 / tanks

2D arcade top-view shooting game
1 stars 0 forks source link

Rect vs square collision detection and feedback #28

Closed ghost closed 9 years ago

ghost commented 9 years ago

We also need a state variable which tells if an object is a rect or a circle.

ghost commented 9 years ago

It's easy with the entity component system