Hi all! Continuing on with my 3rd person platformer unity demo game, this time I upgraded my camera system! Previously, I had 'fixed' my last bug with friction of the player on objects in mid-air, but I actually missed out what would happen when jumping against a wall whilst grounded. This time, I fixed that. The additions I made included a new camera mode, a method of swapping between to modes, and upgrading the default camera mode! Normal mode now features collision detection! The camera zooms in with some padding when colliding with with a wall. The new NSEW Soft-Lock mode locks the camera to either the north, south, east, or west angles. You can then rotate around the player only in 90 degrees whilst in this mode, snapping to the closest cardinal direction at the moment you enter the mode. Checkout the video below for a much more detailed look into the system, what it can do, and the code behind it!
2 Comments
Leave a Reply. |
AuthorHi, I'm Conrad Wilson. a Games Developer & university student at UWE Bristol. Archives
April 2020
Categories |