add force towards another one code example
Example: unity addforce towards target
rigidbody.AddForce((target.position - transform.position) * multiplicationFactor);
rigidbody.AddForce((target.position - transform.position) * multiplicationFactor);