Entitydistance(A,B)

Blitz3D Forums/Blitz3D Programming/Entitydistance(A,B)

EntityDistance - not a performance hit, not much different than calculating it yourself with as sqr(dx^2 + dy^2 +dz^2) which unless you are performing thousands each frame should not be an issue.

Can't help with your particle effects though...