Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 11686

The smallest box shape that fully encloses a 3D mesh. They are usually used for things like broad phase culling, a technique to do an initial coarse check for which parts of a 3D scene to include for rendering or collision detection.

3 votes

3d bounding Box border xna

Well, you're asking a few different questions there. I'll start by answering your main question which is about how to display a debug representation of a BoundingBox object. How to render a BoundingB …
David Gouveia's user avatar
3 votes
Accepted

Bounding box of a rotated rectangle (2d)

I always try to solve these geometrical problems using transformations instead of trigonometry, because at least for me it's easier to visualize. Here's how I do it on my application in XNA. Let's sa …
David Gouveia's user avatar
5 votes
Accepted

How to "swing" bounding box and update collision for sprite swinging a weapon?

Top-down Zelda style? One way to approach and simplify the problem is to instead of using an entire bounding box for the sword, reduce it to just one or two points of contact (lying inside the sword) …
David Gouveia's user avatar
6 votes
Accepted

Efficient Tile-based collision detection for a lot of squares?

Yes, you're thinking correctly. You should be using a 2D array of tiles since that allows you to index tiles by position. Block[,] level = new Block[width, height]; And since the player can only co …
David Gouveia's user avatar