when i move the chest object with keyboard and hit the cube I rotate
it.
you will see the chest  model wont be rendered on the corners when
rotating it near the cube.


use arrow keys 'up'to move forward then when you hit the cube rotate
right
with right arrow and the background object is
 displayed over foreground object 'chest' on the corner.

http://www.mymrt.net/testCollision/my3DcollisionTest.html

Reply via email to