MIT-Video-Game-Orchestra / vgo_game

https://mit-video-game-orchestra.github.io/vgo_game/
MIT License
0 stars 1 forks source link

AABB Collision Resolution #17

Open HeadMerchant opened 4 years ago

HeadMerchant commented 4 years ago

The current Axis-Aligned Bounding Box implementation doesn't properly resolve collisions. A more robust implementation should offer:

In addition, if we plan on having fast-moving projectiles later on, I recommend looking into continuous collision detection via swept AABBs, but let's focus on getting regular collision resolutions working first.

Recommended reading: https://noonat.github.io/intersect/

HeadMerchant commented 4 years ago

Also, I can't self-assign this issue, but I'll take it.

larryoatmeal commented 4 years ago

Yes, this would be great, it is similar to #11, might want to see if @CometsTech has some thoughts on it as well