The distance from the ray's origin to the impact point.
In the case of a ray, the distance represents the magnitude of the vector from the ray's origin to the impact point.
In the case of a swept volume or sphere cast, the distance represents the magnitude of the vector from the origin point to the translated point at which the volume contacts the other collider.
Note that RaycastHit.point represents the point in space where the collision occurs.
// reaches the desired levitation height.
// passes over an object underneath.
// Torque for left/right rotation.
// The force applied per unit of distance below the desired height.
// The amount that the lifting force is reduced per unit of upward speed.
// Fairly high drag makes the object easier to control.
// Push/turn the object based on arrow key input.
// Cast a ray straight downwards.
// and the height measured by the raycast distance.
// gravity pull it downward if it is too high).