Hi, I'm new in Unity3d and in my little game I want to create an enemy in a random position on the NavMesh. How to check if a position is on NavMesh? What is the best practice to create enemies in random position?
A simple way would be to add a bunch of empty game objects( spawn points )to your scene and then randomly spawn on one of them. I'm sure there's some free Unity asset on the store that would do this for you if not let me know. Also have a look at this thread https://forum.unity3d.com/threads/finding-closest-point-on-navmesh.284775/