unity how to addforce towards location code example
Example: unity addforce towards target
rigidbody.AddForce((target.position - transform.position) * multiplicationFactor);
rigidbody.AddForce((target.position - transform.position) * multiplicationFactor);