Entitybox with flipped mesh - help

Blitz3D Forums/Blitz3D Programming/Entitybox with flipped mesh - help

MuffinRemnant(Posted 2003) [#1]
I have a cube inside a bigger cube that has been flipped (like inside a room). Can i detect collisions between the small cube and the flipped one using entitybox and if so HOW?

TIA


jhocking(Posted 2003) [#2]
You could use MeshesIntersect. Box collision can only be used for the entity being collided against, not both entities. Anyway, in the specific example you give you would want to use polygon collisions for the room, otherwise no collisions will register since the smaller cube is already inside the bigger cube.


MuffinRemnant(Posted 2003) [#3]
Thanks Joe - I couldn't see any way to do it using box collision so I resorted to polygon collision.


jhocking(Posted 2003) [#4]
When the object being collided against is a box anyway there isn't much difference.