EntityDistance#

Blitz3D Forums/Blitz3D Beginners Area/EntityDistance#

 
Dis# = Entitydistance(Entity1,entity2)
If dis# < collisiondis ; if the distance away is less then amount you want it to check for.
collision = true ;do whatever you want them to do if they collide
Endif 


Just get the distance between the two entitys and check it against the max distance you want them to still make a collision from.