how to get the Velocity of the FPScontroller?

I need to get the velocity of the FPSController. Problem is, velocity is a parameter of the Rigidbody component, and the FPS controller does not have a rigidbody and does not use velocity to move. Even if I add a rigidbody to theFPScontroller, and display its velocity in Debug.Log (player.velocity), the value always returns (0,0,0).

I need to know the velocity of FPS controller so I can add it to the speed of instantiated projectiles. How can I get it? thanks!

GetComponent<CharacterController>().velocity;