Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
MapMagic World Generator
MapMagic World Generator
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 157
    • Issues 157
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards
  • Denis Pahunov
  • MapMagic World GeneratorMapMagic World Generator
  • Issues
  • #338

Closed
Open
Opened Jul 12, 2020 by James Gladfelter@jimmy.gladfelter

Objects floating above or sunken into the terrain when trees/objects generator is set to relative height

Steps to reproduce: Create the following map magic graph: image

Expected result: All objects should be placed at max height on terrain.

Actual result: There are some objects that float above the max height of the graph. Some look correct but others are either too high or sunken into the terrain and too low. This is using the latest mapmagic 2 generators (v2.0.5) in unity 2019.3.13f1

Some are too high: image

Some are too low: image

Some are just right..

You may say that my height is rather large (1500) but Ive tried also at a smaller height and still see some are sunken into the terrain and where some are not...but isn't as bad. Seems to happen more when there are mountainous regions on the terrain, however prefabs placed on flat areas on these terrains still experience the same behavior.

Ive also tried to use the floor generator instead of relative height but the same thing happens. Sometimes its seems that its the prefab possibly??? I have a coconut tree where it seems to be fine all the time but a catcus from speedtree where it happens a lot...so idk (happens with a decent amount of my prefabs it seems). My guess it is maybe some precision error? I've included the prefab for testing.coral_06_01_LOD.prefab

Edited Jul 12, 2020 by James Gladfelter
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: denispahunov/mapmagic#338