Are you developing a mobile game, i.e. do you have touch input or mouse input?
You basically need a gesture recognizer. You can write one for yourself and always track the touch/mouse position from the last frame and then interpret the cursor movement. You will want to interpret whether the user has made a drag or a swipe gesture and use that to add forces to your GameObjects.
There are also gesture interpreters available in the asset store. Just search for "gestures" or "touch gestures" there: https://www.assetstore.unity3d.com/#/search/gestures%20touch