Do i need to attack a rigid body to my camera?

I followed this tutorial on how to make a first person rigid body and the mouse control works but when I try to move it gives me an error message saying “There is no ‘Rigidbody’ attached to the “PlayerCam” game object, but a script is trying to access it.”

this is the link to the tutorial The EASIEST FPS MOVEMENT in Unity - Rigidbody First Person Controller Tutorial - YouTube

I set up the script and camera both named PlayerCam if that helps

Hello.

I dont know this specifyc tutotial, but this errors means, there is a script (i supose attached to the CameraGameObject, that is trying to access the rigidboy in some line of the code. The error message says exatcly what script, at what CS (the line of the code).

If is trying to read the Rigidbody is because is trying to do somethign with it… so… yes, you need it, or maybe do not need that part of the codem, or maybe you put the script in a wrong object… you must discover why.

PD: Post closed, due to soo subjective and nonrelevant. Read the FAQ to knowhow to do good questions.

Bye!