I seem to be having problems with the speed my object travels at between waypoints.
I speed is set to a fixed value, but the closer the waypoints are together in 3D space, the slower the object travels, i.e if two waypoints are far apart the object travels really fast between the two waypoints?
Any ideas?
Why not just calculate the length of the vector from WP1 to WP2 and use that float as a multiplier for the speed value?
Edit: Of course you need to use the resulting float not as multiplier but more like sort of a factor.
I imagine you are using Vector3.Lerp to move the object between points…
You need to vary the amount of time the animation lasts in proportion to the distance between the waypoints. You can use Vector3.Distance to find the distance - just divide the distance by the speed (units/sec) to get the time you need.