Hi.
As describe in Getting Started:
public void Start () { seeker = GetComponent();//Start a new path to the targetPosition, return the result to the OnPathComplete function seeker.StartPath (transform.position, targetPosition, OnPathComplete); }
works correctly witout colliders, but if I add collider (box, capsule) to gameobject then seeker.StartPath works wrong if gameobjects transform position (x or z) not integer. Yes, not integer.
For example:
Gameobject has x: 50.57856, y: 2, z: 21.68:
Then in unity3d Play mode seeker.StartPath only find path to x: 51, y: 2, z: 21 even targetPosition not x: 51, y: 2, z: 21.
But if gameobjects transform position (x or z) is integer (x: 51, y: 2, z: 21.68):
Then in unity3d Play mode seeker.StartPath find correct path to targetPosition:
Can you help me. Whats wrong ?