-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I get an error everytime I try to get the ball.GetComponent...
//ball.transform.position = transform.position + new Vector3(0.2f, 1, 0); Vector3 dir = aimTarget.position - transform.position; //ball.GetComponent<Rigidbody>().velocity = dir.normalized * currentShot.hitforce + new Vector3(0, currentShot.upforce, 0);
Unity says ball hasn't been assigned yet so did I maybe miss a part?
Metadata
Metadata
Assignees
Labels
No labels