How to set local linear velocity of an object related to the camera view(code inside)

This topic solve this problem: Grab, Drop and Throw objects with your mouse (Using Constraints)