Sensor based vs. AABB based collision
Posted
by
Hillel
on Game Development
See other posts from Game Development
or by Hillel
Published on 2013-06-26T17:55:00Z
Indexed on
2013/06/26
22:30 UTC
Read the original article
Hit count: 262
I'm trying to write a simple collision system, which will probably be primarily used for 2D platformers, and I've been planning out an AABB system for a few weeks now, which will work seamlessly with my grid data structure optimization. I picked AABB because I want a simple system, but I also want it to be perfect.
Now, I've been hearing a lot lately about a different method to handle collision, using sensors, which are placed in the important parts of the entity. I understand it's a good way to handle slopes, better than AABB collision.
The thing is, I can't find a basic explanation of how it works, let alone a comparison of it and the AABB method. If someone could explain it to me, or point me to a good tutorial, I'd very much appreciate it, and also a comparison of the advantages and disadvantages of the two techniques would be nice.
© Game Development or respective owner