hex position numbers?

Ask questions, discuss ideas, get answers
Post Reply
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

hex position numbers?

Post 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
User avatar
Senshi
Posts: 697
Joined: Sun Oct 18, 2009 1:14 pm
Location: Germany
Contact:

Re: hex position numbers?

Post 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.
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: hex position numbers?

Post by freddy »

aha! thanks for the explanation!

and bah! i am so bad at math hehe
Post Reply