I've made an error somewhere. Recently the map I've been working on doesn't let me drag-and-drop to change world positions of items. If something is currently at position "-700 -500 100" (for example) and I drag it... the position changes to "-1.#IND -1.#IND -1.#IND". I can manually type in a different position and that works fine. Other maps are fine, it's just this map which is affected. I've checked my console (no errors). I'm going to start comparing this version with backups to try and find where I went wrong. I assume I've got a typo somewhere. Has anyone else run into this sort of thing? Any tips?
I don't have a solution yet, but I think that I've determined where the problem started. It looks like the problem cropped up when I swapped out my terrain / ".ter" file. I imported a larger terrain (from 1024 to 2048 as I recall) at some point, the backup before that does not have the issue I described in the OP. https://www.diffchecker.com/xvyeuees Note that my squareSize is 0.25, so recentering my terrain required less movement than a squareSize of 1.0. I do not recall why my MaxHeight went down. I think that it was an arbitrary decision on my part.
OK, now I'm really confused. I have ~16 backups of this level. If I load revisions up to revision 11 I am able to drag items around in the editor... but it's very clear that I was able to do plenty of drag and drop work after that too! I added things, moved things, etc. Now revisions 12 - 16 all fail in the way described in the OP. Some of that work definitely occurred after the BeamNG v4.3.0 update, so I don't think that it's due to the update.
Hmm, thanks. For me 0.25 worked great from the start in v4.2.x. The level continues to play and be perfectly stable at this point (v4.3.0). I know the official levels go at least as low as 0.75. The strangest thing is that while working backwards through my revisions rev12 is the first affected revision... but I continued to add and successfully move objects for several more revisions. Despite no changes to those backups, they now do this in the editor when they did not before! I've deleted my cache. I've now noticed that if I multi-select an object(s) plus the ocean or forest object.. I can then drag them around successfully. Of course doing that sucks and is a pain. I'd be happy to PM links to anything related to this problem... rev11 (where there's no problem), rev12 (the first version w/ a problem), rev16 (current).
Is terrain or soft snapping on? This problem occurs in some parts of official maps too (e.g. around the curbs in ECA's town), and from what I've experienced it's caused by floating point precision errors when snapping. My solution so far has been to disable snapping and place objects in those locations manually. If snapping's off, I don't know what's causing it.
Thanks Scepheo. You are really on point with this stuff! That's exactly what the problem was. "Soft object snapping to other objects (B)" was the option I had turned on. For what it's worth, snapping to terrain seems fine. ... I feel a lot better now.