Open metalgearsloth opened 9 months ago
it's copied and modified anomaly spawn code so you might want to look at that too, it's also supposed to be able to teleport you into space off shuttles
and also every single other content call to setworldposition would also need bandaiding
Take a look at all the AttachToGridOrMap calls. Does it rings any bandaidish bells? Smells kinda fishy that it often goes together with SetPosition that should be capable of addressing parenting issues on its own.
PS: I like your desire to fix issues at their roots, but not allowing bandaid solutions or even reverting one is kinda meh. From the look of it, you (the maintainers) aren't capable of fixing all the issues the right way timely, making bandaids a necessary tradeoff until the fix is here.
The easy solution is querying grids in range then picking a random tile and BFS from there.