unity get velocity at point

C#
Rigidbody rb = gameObject.GetComponent<Rigidbody>();
//Returns the velocity at local position 'pos'
rb.GetPointVelocity(transform.TransformPoint(pos));
Source

Also in C#: