A throwing script

Hi! :slight_smile:
I’m looking for the best, simple way to throw an object.
I was thinking that an empty gameObject in the scene would instantiate an object (in this case a ball) and that object would have a script attached to apply force in a forward direction.
I want the force to be a small amount because I want the ball to bounce off the ground shortly after being thrown.
can someone please tell me a way to apply force to the ball?
any help would be much appreciated!

Check Rigidbody methods:

AddForce - Adds a force to the rigidbody. As a result the rigidbody will start moving.
AddRelativeForce - Adds a force to the rigidbody relative to its coordinate system.
AddTorque - Adds a torque to the rigidbody.
AddRelativeTorque - Adds a torque to the rigidbody relative to the rigidbodie’s own coordinate system.
AddForceAtPosition - Applies force at position. As a result this will apply a torque and force on the object.

Easier part is to set the rigidbody’s velocity

Thanks for the prompt replies!
if i use AddForce, will the object come to a stop eventualy? I basically just want to force to be applied once only, then the object will fall and when it hits the ground bounce slightly or whatever and eventually roll to a stop. same question for velocity
thanks! :slight_smile:

It will stop to accelerate, fall down, bounce maybe and eventually stop.

Thanks you very much, it works great!