Skip to content

serve #1

@Cheffren

Description

@Cheffren

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions