I'm making a point and click puzzle game. How do I pick and object up wit the mouse, and using mouse momentum, throw it? I can pick it up, move it around, play with physics to make it fall like a rock, and tumble like a rock when it hits objects, but as soon as I let go of the mouse button, it just drops. How do I give it force? Impulse? (whichever is best) in the direction the mouse is moving?
There are some answers from 4+ years ago, but all the links to their code are not working anymore.