Collision Detection – it’s a…well, you know

I can get to a certain level of precision with these bounding boxes (Axis Aligned Bounding Boxes for those who care) but when it comes to the robot, I need an Oriented Bounding Box. Only trouble is finding the equations to calculate it. Okay, so there’s also the whole XNA thing of having to build those AABBs by hand, but it works okay for now.

The Axis Aligned Bounding Boxes used for collision detection

The Axis Aligned Bounding Boxes used for collision detection

That white box containing all the other boxes represents the limits. The robot’s bounding box (yellow) cannot go outside of that white box. The red boxes on the other hand are the areas where the robot cannot go into.

MY BAD: I wrote this post last week but it seems that I didn’t publish it…so yeah, uh, sorry about that.

Advertisements
This entry was posted in General Updates and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s