OK this is complex.
(1.) I am loading a model
(2.) I am cloning it
(3.) I am having an NPC “clone it at a location” as it moves around the map
(4.) when I console log the xz of the NPC and the xz of the model it is the same
(5.) but when I am looking at the map, it almost looks like the position of the model is “mirrored” onto the other side of the z-axis
How is this “flip” happening?
How could I get the same xz in the console, but a different visual result?
The code is really complex, so I’m just looking for trouble shooting help.
The white thing is the NPC; it is pooping out red cubes (right side); the red rectangles are the model (of a house) (left side).
Below, I posted my model load code and the function that makes the clones. I recall having a similar “offset” problem when I loaded another model and like set its x to +50 in the meshtask function, but I deliberately load the model to 000 in this case, so I’m not sure what’s happening.
(*.) My fundamental question here is that if you set two things to be equivalent (the positions of two meshes), and they show up as equivalent in the console, how is it possible to get a different visual result?