AnthorNet / SC-InteractiveMap

Satisfactory-Calculator Interactive Map
157 stars 36 forks source link

Copy / Paste Bug: objects offset and rotated #259

Closed slendererer closed 1 year ago

slendererer commented 2 years ago

Issue

When copy & pasting, the pasted objects are offset a few meters north(Y axis) and rotated 90 degrees clockwise.

Replication

1 select objects 2 copy 3 paste on true center foundation, with only positive Z axis offset

Actual Result

pasted objects are offset multiple meters north (y axis) and rotated 90 degrees clockwise.

Expected Result

Copy Pasting should paste exactly centered on/over the pasted object, and be not rotated.

slendererer commented 2 years ago

Github seems to be having issues, i cannot upload images or a video demonstrating this issue. If you want screenshots or a video of the issue, hit me up on Discord, I am already in the EDSM server @miles_smiles #4526

AnthorNet commented 2 years ago

Are you sure the pasting foundation is at a rotation of zero degrees?

AndNovAtor commented 1 year ago

@AnthorNet is very correct, I also forgot some simillar problem, thx.

Don't know, but I want to show what I forgot.

I creted some "road". Sic, it was important HOW I created road (and yes, I "played" with "fill" and rotate) image

And I created test 1 rail road image

So. I copy this "test" road.

Then, If I simply [right mouse] cliced on "foundation" with the road place from first image, clicked "Paste 1 item", then I got this: image

But it's "corect"! Again, it cause HOW I created a "road". And cause that - "foundation", that I clicked, is rotated. This is "cause".

So. I can bulk rotate a road section ~(btw, I suddenly saw, that it was even 89.999999 degree for one and 180.002 degree for another, not 90 or 0; my bad, huh)~. Or for one "hit", I can simply rotate a one "foundation". Like this, "rotate by 90 degree": image

And even if after that "foundation" again had "wrong" oriantation, when I pasted rail - I got "horizontal" orientation: image

So again, @slendererer, please check "foundation" current rotation, on which you paste items (for example, through "Update position")

~P.s. - I misinterpretaded issue date, so kind of necroposting, sorry~

AnthorNet commented 1 year ago

As it's old, I'll close it :) Thanks for the great explanation, it might help other users.