I was have a problem with my pivot point of game object so I used this [solution][1].
Creating new empty object then setting it position to the position I want then parented it to my objects.
Then created my sphere collider and nav mesh agent.
This is how it looks before clicking play:
![alt text][2]
And this is after clicking play. If I add a new object as a child of the same parent it goes to the right position, but my old objects keep changing position after I click play.
![alt text][3]
[1]: http://answers.unity.com/answers/357706/view.html
[2]: /storage/temp/118092-screenshot-from-2018-06-01-162942.png
[3]: /storage/temp/118093-2.png
↧