unity addforce depending on position code example Example: unity addforceatposition rigidbody.AddForceAtPosition(force, worldPosition);