Ilya Builuk
Ilya Builuk
Hi, have you tried to follow these instructions: https://github.com/reinterpretcat/utymap/blob/master/docs/build.md ?
MVP 1.0 will use FlatElevationProvider
Considered as not a part of initial MVP
You could try to add your collision detection script via https://github.com/reinterpretcat/utymap/blob/master/unity/demo/Assets/Scripts/Core/Plugins/GameObjectBuilder.cs::BuildFromMesh Buildings are built in core library and they are materialized using BuildFromMesh method. Another way is just to search...
Have you tried to store lat/lon in your custom MonoBehaviour when you're attaching it to gameobject?
No, mesh geometry is already mapped to unity coordinates. Here you have raw geometry: https://github.com/reinterpretcat/utymap/blob/master/unity/demo/Assets/Scripts/Core/Interop/MapDataAdapter.cs
It is not responsibility of ThirdPersonBehaviour class to handle logic with buildings. Yes, you can search for GO using unity API
You can change or add new implementation for that based on current building builder implementation: https://github.com/reinterpretcat/utymap/tree/master/core/src/builders/buildings
There is getCentroid function in https://github.com/reinterpretcat/utymap/blob/master/core/src/utils/GeometryUtils.hpp However, there is two things to be aware: * convex vs non-convex polygons * building representation in osm might consist of multiple independent polygons.
If I'm not mistaken, it does not support different geometry for different zoom levels (e.g. simplified for lower ones). Even, looks like it does not support zoom levels at all.