1 (edited by cilkamib 2021-04-07 18:23:50)

Topic: Creation of Geofences

Good day. Need help. Is it possible to implement the binding of objects to a specific geolocation zone? For example, when our marker (Location service) enters a certain circle geofence on the map, we automatically have an object - "You are in the square" and the like. I'll be very thankful

Re: Creation of Geofences


To do this, calculate the distance between the object and the target coordinate.
If the distance is less than a certain threshold, trigger the event you want.
https://infinity-code.com/doxygen/onlin … bc84a165f2

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 40 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.