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 an coarse check for which parts of a 3D scene to include for rendering or collision detection.
1
vote
1answer
177 views
Need a bounding box for CCSprite that includes all children/subchildren
I have a CCSprite that has CCSprite children, and those CCSprite children have CCSprite children.
The contentSize property doesn't seem to include all children/subchildren, and seems to only work for ...
1
vote
0answers
250 views
Why does drawing bounding boxes disable my other shaders?
I have some .X models loaded via self-written AssetManager that has Lists with models in it. I also apply a diffuse shader to my models. All the models are "self-drawing" in a BasicModel class.
...
0
votes
0answers
213 views
Why does RayIntersect return wrong values?
I'm trying to implement Object picking. My BasicModel.cs has a function:
public bool CheckRayIntersection(Ray ray)
{
//Where aabb is the BasicModel's BoundingBox
if ...
-1
votes
0answers
20 views
Checking collision between Rectangle and Shape
In my game the player uses a Rectangle for his bounding box, he can do this because I only need to rotate the player image and not the acctual rectangle but for a eletric beam that one of the bosses ...
