1 (edited by hyaqub 2017-03-13 10:51:34)

Topic: Creating custom buildings using OnlineMapsBuildings.cs

Hi

I wanted to ask what is the best way to generate buildings from custom data using the OnlineMapsBuilding script. As far as I understand, the default script requests it's data from an Open Street Maps provider.

I have some custom lat/long data which make up the points of a building. I wanted to use these points as the points on the map which represent the flat polygonal shape of the building.  Is there a way of passing custom data (as a node) to the OnlineMapsBuilding script or do I need to write a custom script to do so?

EDIT

I think I need to be looking at the OnlineMapsBuildingBuiltIn.cs script. I guess I could adapt the code for the "Create" function and just pass in points directly without it needing to parse an OnlineMapsOSMNode?

Re: Creating custom buildings using OnlineMapsBuildings.cs

Hello.

Unfortunately, the built-in building engine does not support the addition / generation of custom buildings.
You can add your own building using 3D markers.
But you need to generate your own building yourself.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Creating custom buildings using OnlineMapsBuildings.cs

Ah ok. That was my original approach anyway haha. I wanted to make sure there was not a built in way first. Thank you