I watched this tutorial: Unity Tutorial: 2d Arcade-Style Car Driving/Physics - YouTube about making a racing game in unity, but I didn’t understand why the ForwardVelocity() function was returning only the up velocity.
From 32:40 he starts explaining what he wants to do, and how.