Thx Nomen luni and H&K but I don't really get it with the "^.5" part... I'm 9th grade and I don't remeber doing this at school.
Here is how I did it
And semar and ><)))º> thx but I will do this proces a lot of times so your ideea will slow down the program
Here is how I did it
Local dist:Float = Sqr((px-vx)*(px-vx)+(py-vy)*(py-vy)+(pz-vz)*(pz-vz))
And semar and ><)))º> thx but I will do this proces a lot of times so your ideea will slow down the program