Collisions for enclosed boxes

Post Reply
STTrife
Posts: 109
Joined: Tue May 01, 2012 10:42 am

Collisions for enclosed boxes

Post by STTrife »

Hi, very basic question here:

If one box is fully inside another box, does it detect a collision then, or are collisions only found when the boundaries of the boxes intersect somewhere?

Thanks!
STTrife
Posts: 109
Joined: Tue May 01, 2012 10:42 am

Re: Collisions for enclosed boxes

Post by STTrife »

Nobody know if collisions are detected is a cube is fully inside another cube?
I thought this would be a very basic question, and it's also relevant if you are considering tunneling etc.
Please, anyone?
Basroil
Posts: 463
Joined: Fri Nov 30, 2012 4:50 am

Re: Collisions for enclosed boxes

Post by Basroil »

STTrife wrote:Nobody know if collisions are detected is a cube is fully inside another cube?
I thought this would be a very basic question, and it's also relevant if you are considering tunneling etc.
You would have guessed that it would be in the documentation somewhere, but yea, it's nowhere to be found. Not sure about all collision detection methods, but the box-box should return that two boxes are in collision even if they aren't touching, unfortunately I don't have time to check just right now. Not sure error correction would work though, that is supposed to work at collision points, which a box in box will have none of.
Post Reply