Learn and Develop Log , DAY #1


I followed the FPS tutorial in Godot from the 'StayAtHomeDev' YouTube channel. I successfully created everything as instructed, but I encountered an issue with the line:

`CAMERA_CONTROLLER.transform.basis = Basis.from_euler(_camera_rotation)`

This line showed an error: "Invalid get index 'transform' (on base: 'Nil')." I was stuck on this problem for almost half an hour, searching and researching why this occurred. Finally, I discovered my mistake: I needed to assign Camera3D to the camera controller manually in the inspector of the player scene.

After making this correction, I now have a first-person perspective player that can move, look up and down, and jump smoothly in a scene.

Note: I am developing the game 'ABSURD' and working on it daily while learning the process as a new game developer. I appreciate any support and advice on how to improve, learn more effectively, and speed up my progress, as I aspire to complete this game and become a game developer!

Leave a comment

Log in with itch.io to leave a comment.