collision tests between entities