Page 1 of 1

Collisions for enclosed boxes

Posted: Thu Nov 21, 2013 11:16 am
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!

Re: Collisions for enclosed boxes

Posted: Sat Nov 23, 2013 12:18 pm
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?

Re: Collisions for enclosed boxes

Posted: Sat Nov 23, 2013 2:19 pm
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.