How would I determine the speed of a game object that I’m moving with Vector3.MoveTowards. The Rigidbody’s velocity isn’t changed, and I’m not sure where else the speed would be found.
Hello, @NedStormFish.
The way that MoveTowards()
works is that it moves an object from current point, in a straight line towards a target point.
Vector3.MoveTowards(currentPoint, targetPoint, speed (float));
You can also refer to this for further information: Unity - Scripting API: Vector3.MoveTowards
Hope this helps