Search Issue Tracker

Fixed in 4.5.X

Votes

0

Found in

4.3.1f1

Issue ID

586095

Regression

No

A mistake in the NavMeshPath.corners example

http://docs.unity3d.com/Documentation/ScriptReference/NavMeshPath-corners.html

This:
lengthSoFar = Vector3.Distance(previousCorner, currentCorner);

Should be changed to:
lengthSoFar += Vector3.Distance(previousCorner, currentCorner);

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.