What unit of length is SA Using? -
SEnergy - 14.08.2012
feet? mile? meter? yard? or anything else?
Re: What unit of length is SA Using? -
admantis - 14.08.2012
A meter. Being said, San Andreas is only 3x3 kilometers big.
Re: What unit of length is SA Using? -
SEnergy - 14.08.2012
so if my velocity is x = 0.03, y = 0.03 i'm moving total of 0.06m/s ? or how exactly does it works?
Re: What unit of length is SA Using? -
admantis - 14.08.2012
Assuming that your velocity is (x: -0.2) (y: 0.5) you can use the pythagorean theorem:
speed = sqrt((-0.2)^2+(0.5)^2)
speed = 0.5385
This thread really doesn't belong in this section.
Re: What unit of length is SA Using? -
SEnergy - 14.08.2012
yes, but I was wondering, what's that 0.5385 ? m/s ?
actually I'm using this
fSpeed = floatsqroot(floatpower(fPos[0], 2) + floatpower(fPos[1], 2) + floatpower(fPos[2], 2)) * 100;
and it seems to be pretty much realistic as km/h
(when I'm going backwards with motorbike it displays 5km/h (1,39m/s)
Re: What unit of length is SA Using? -
DiDok - 14.08.2012
Quote:
Originally Posted by admantis
A meter. Being said, San Andreas is only 3x3 kilometers big.
|
6x6 actually (-3000,-3000)->(3000,3000)
Re: What unit of length is SA Using? -
AntonioStyles - 14.08.2012
It is meter.
Re: What unit of length is SA Using? -
Mauzen - 14.08.2012
Velocity got another unit, not m/s. People say velocity*195 is about the km/h, so velocity*50 is m/s. So the velocity unit is something like m/0,02 seconds, maybe m/playertick.