Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

could someone explain my errors

Answers

  • The first one means that you are calling a method that doesn't exist. It's GetKey, not Getkey.

    The second one is because you are passing improper arguments to AddForce. You are giving it three separate numbers, but it should have a Vector 3. So prb.AddForce(new Vector3(-5 * Time.deltaTime, 0, 0));

Sign In or Register to comment.