disclaimer: im using lua on the table top simulator game, I don't know if this interfere in any kind of way with the "regular work" of lua
I already have a bunch of vectors pre-calculated:
grey_res = {55.00, 3, -10.80},
commerce = {55.00, 3, -8.10},
blue = {55.00, 3, -5.40},
war_conflict = {55.00, 3, -2.70},
naval_conflict = {55.00, 3, 0},
compass = {55.00, 3, 2.70},
tablet = {55.00, 3, 5.40},
gear = {55.00, 3, 8.10},
green_island = {55.00, 3, 10.80},
and I manged to find the right formula to calucate these values with origins and offset but here's the lua output
Vector: { 54.999997, 3, -10.800006}
Vector: { 54.999997, 3, -8.100005}
Vector: {54.999996, 3, -5.400006}
Vector: {54.999995, 3, -2.700005}
Vector: {54.999995, 3, -0.000005}
Vector: {54.999995, 3, 2.699995}
Vector: {54.999994, 3, 5.399996}
Vector: {54.999994, 3, 8.099996}
Vector: {54.999994, 3, 10.799996}
As you can see the coordinates kinda matches the one I designed but they are still off and since I need to do other operations with them I'm scared they will mess up my objects's placements Is there a way to fix this?
I was thinking of making my way out of this with if statements but the code will get pretty messy
EDIT: these are just some coordinates examples, in reality all of these values changes for every player at the table, so for some of them the x might be a positive float, for others a negative one and the same goes for the z