contact
Blitz3D Forums/Blitz3D Beginners Area/contact
| ||
is there any way of detecting whether or not one entity is in contact with another entity, i know you can use entitycollided, but that just returns the other entity in a collision, say for example i had two cubes after the initial collision, i want to be able to tell if one cube is still in contact with the other cube, hope that makes sense, thanks for your help. |
| ||
This might be what your looking for. CollisionEntity ( entity,index ) Parameters entity - entity handle index - index of collision Description Returns the other entity involved in a particular collision. Index should be in the range 1...CountCollisions( entity ), inclusive. Or maybe you could just use EntityDistance to check the distance between the two cubes, and if the distance is close enough so the're touching, then do whatever you had in mind. Hope that helps, W E R D N A |
| ||
MeshIntersect? |