Entitydistance(A,B)

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

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Just wondering if anyone could tell me conclusively if the entitydistance causes a considerable performance hit when it is used per cycle (each game loop pass)

I already stagger my line picks / entity picks etc, but wondered if I should look at limiting the calls to entitydistance(a,b)a little....

Also, any ideas on how I might approach replacing my rocket smoke particle system (At the moment,my particle system makes puffs of white smoke particles appear at each pass...but have large gaps between particles when my rocket is at top-speed

How can I create continuous lines of smoke trails that are always solid regardless of the speed of the emitter (rocket)