WorldSpace to LocalSpace

World to Local.dev (371.2 KB)
The side length of LocalSpace is an area with a square of 88km,so I used a size of 1414km for comparison.

  • 14*14km WorldSpace

  • 8*8km LocalSpace

If you convert from non square terrain to Localspace, it will shrink along the longest side, so I added a correction function to keep your terrain in its normal shape.

  • 14*28km WorldSpace

  • After correction

1 Like

World to Local.dev (374.6 KB)

Found an error and it has been corrected!!!

2 Likes

Which bugs may happen, if i will use your macro in Tiled Build? Because WM says that this macro is not good for Tiled Builds

Aaa, maybe it is a secret, but i want to ask - how you implemented convertation of worldspace to localspace? :thinking:

Iā€™m asking, because see that it is only way, how it is possible to incriase scale of worldspace object. And it is very interesting.