I want my sphere to jump from one position to another but don't want it to translate afterward. I can't figure out how to do that. Here's my code:
void Update()
{
if (!thrown && ((Input.touchCount > 0
&& Input.GetTouch(0).phase == TouchPhase.Ended)
|| Input.GetMouseButtonDown(0)))
{
rb.isKinematic = false;
rb.AddForce(new Vector3(0.0f, 15.0f, 5.0f) );
thrown = true;
}
}


Colliders, you could detect collision between the two and freeze the ball'sTransform.