Distance between two points in 3d.

Blitz3D Forums/Blitz3D Programming/Distance between two points in 3d.

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.

Is it a lot slower? I think I will change to Multiplication like you suggest then.

I too think the problem might be floating point numbers, or perhaps your entities are children of other entities? In which case you will need to use the global command when getting their x,y,z like

x1#=entityx#(spaceship,1)