Journal Entry 1


Activity: 

  • Search for a first person controller package.
  • Fix bugs.
  • Customize it for my needs.

Invested hours:

  • 3h

Outcome:

  • Add First Person Controller

Notes:

  • I decided to create a first-person 3D game with puzzles based on the glue gun mechanic from the game Prey.
  • I was searching the Unity Asset Store for a useful and easily customizable 3D first-person movement controller. I found out that most of them are garbage. Some are okay, but many are full of bugs. I decided to use the simplest one because it’s easier to rewrite for my own needs. I saw other packages with like 20 different script files, but they still didn’t provide a basic first-person movement controller without bugs.
  • Specifically, in the package I chose, I discovered that when trying to sprint and crouch at the same time, the resulting velocity increased significantly. So, I spent time rewriting the crouch and sprint logic.
  • Then I realized I couldn’t properly adjust the jump height because of how the grounded check was implemented. So I ended up rewriting that logic too.
  • Now the code is like the Ship of Theseus dilemma: it’s still technically the script from the package, but there isn’t a single unchanged line left.

Leave a comment

Log in with itch.io to leave a comment.