5 votes Vote

Objects node places objects above/below ground

Unity 2019.3.13f1, MM 2.0.2
When outputting objects via Objects or VS Pro Objects node, the objects are sometimes floating above/below the ground - it seems like the height is calculated inaccurately. Increasing the resolution doesn't really help. Happens more often on slopes, but not exclusively. Unity built in terrain placement tools don't have this issue, so it's not project/terrain specific.

Refeas, 12.05.2020, 18:48
Idea status: completed

Comments

Wraith, 12.05.2020, 22:49
Might be related with http://mm2.idea.informer.com/proj/MM2?ia=133510, so could you please make a screenshot here too?
Refeas, 12.05.2020, 23:56
Here's the screenshot - it's just a simple Scatter -> Objects connection.
https://imgur.com/a/p3kPSJC
Placing the mushroom via Unity behaves correctly.
Wraith, 04.06.2020, 20:58
Unfortunately can't reproduce this issue. Might it be related with the terrain lod (pixel error), or low-poly mesh triangulator? Is there any way to reproduce it in a clear scene?
Refeas, 05.06.2020, 12:47
Just sent you an email with repro package made from clean Unity project, hope this helps.
James Gladfelter, 12.07.2020, 21:48
I also am experiencing this. I made an issue for it here:
https://gitlab.com/denispahunov/mapmagic/-/issues/338

Was not aware of this site until now.
James Gladfelter, 13.07.2020, 21:54
Refeas:

"This one should be improved in the next version too, but unfortunately I can't guarantee the ideal placement of the object on terrain triangle because of terrain triangulation (for bended terrain quad the diagonal edge could noticeably vary in height) and conversion to 16 bit on some height apply types. But inaccuracy will be hundredths of unit instead tenth or full units in case of high terrains."

https://forum.unity.com/threads/released-mapmagic-2-infinite-procedural-land-generator.875470/page-5#post-6084549
Refeas, 21.09.2020, 23:51
I think you can mark this one as completed, it's working fine for quite some time. :)

Leave a comment