Did anyone else have issues with the generic aiPath script when they upgraded unity to 4.5? Suddenly everyone with rigidbodies behaves like they’re on ice and they go sliding past their vector points.
Not sure what happened but the core aiPath was using addforce to move the rigidbody around line 347 - switched this to use velocity instead (since I think addforce aggregates). This fixed it.
I was playing around with this for the first time today and noticed the same thing. According to tdaniels’ suggestion, I changed line 349 from:
rigid.AddForce (dir);
To:
rigid.velocity = dir;
and that made the object navigate correctly. Would be nice, if this is indeed the right fix, for this to be included in the next update. Thanks.