Page 1 of 1

hex position numbers?

Posted: Sun Jan 13, 2013 7:46 pm
by freddy
In the coral sea map there is one weird setting on the spawner: 1.52588e-005

i wonder how that works, especially with the -

Code: Select all

Object.create carrierSpawner_1
Object.absolutePosition 1316.13/38.3179/1756.99
Object.rotation -131.52/0/1.52588e-005
Object.setTeam 1

Re: hex position numbers?

Posted: Sun Jan 13, 2013 7:54 pm
by Senshi
Not hex, but exponentials.

1.52588e-005 equals 1.526 * 10^-5 equals 0.00001526.

BF has no problems using exponentials, but I did not find a single real use for that kind of precision ;) . I think BC42 and/or Ed42 sometimes causes this when you rotate objects manually, even when using Angle Snap. The editor simply doesn't round values properly, but rather uses this ridiculous super precise "not-exactly-zero"-value.

Re: hex position numbers?

Posted: Sun Jan 13, 2013 9:29 pm
by freddy
aha! thanks for the explanation!

and bah! i am so bad at math hehe