Day 5


Finalllyyy..!

I finally have a camera I'm happy with :D

  • It rotates smooooothlyy around the player and focuses it all the time.
  • If a wall/ground is between the camera and the player, it moves through it to mantain sight of the player.
  • Limited upward and downward rotation.
  • If you don't touch the joystick, the camera adjusts the view angle automatically.

Next is the Player Controller.

I implemented a slight delay between the input and the direction the player model faces to make te rotation more smooth.

I also modified the way movement velocity is added to the player to take account for slopes and uneven ground.

I'm now trying to consistently detect when the player is touching the ground, because Unity's collision system seems to be ignoring it somehow.

And that's all, see you!

Leave a comment

Log in with itch.io to leave a comment.