Fixing health system issue and collision issue
As I attempted to fix the issue with the collisions to then allow player to be damaged, I tried to determine what the issue was, it was eventually narrowed down to the character controller being the main culprit. It seemed that the character controller doesn’t interact well with rigidbody collisions, rather working with on controller collision code. This took time to fix as I had to change up the collisions and implement a cooldown system to prevent the player from dying almost instantly.
Once the issue was finally resolved, the player was able to be defeated by the enemy and the game over screen appeared. But another issue had cropped up, being that my original detection for the player moving into a trigger box to activate the chasing mode had broken, so the enemy chases the player as soon as the level starts. I realised this wouldn’t be fixed in time. So, I left it as is since the player is faster than the enemies and can easily avoid them.
Get The Mines Of Morrenhall
The Mines Of Morrenhall
Status | Released |
Author | Eighthsum9798 |
Genre | Adventure |
Tags | 3D, First-Person, Short, Singleplayer |
More posts
- Music and game completionFeb 04, 2024
- Collectible system, issues and fixesFeb 04, 2024
- Combat system issuesFeb 04, 2024
- Ui, health system and game overFeb 04, 2024
- Map creation and Ai navigationFeb 04, 2024
- Dev Log 1 - Basic Movement and camera movement (21/11/2023)Nov 21, 2023
Leave a comment
Log in with itch.io to leave a comment.