New answers tagged direction
Use rigidbody.AddForce instead of transform.Translate so that the collisions are detected. For the direction create a variable with the difference between the target and the object itself and then normalize to find out the direction.
I think a normalized vector from the ball to the object. direction = (ball.transform.position - kicker.transform.position).normalized; I made a game doing kind of this thing you are doing. (source code link in the post) http://luigigarcia.byethost7.com/projects/goal-a-r-goal/ I think that your kicking object must do this work, not the ball. You need to ...
Top 50 recent answers are included