Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Headshot

This week I had some personal issues so I wasn't able to get as much stuff done, but one of the things I did work on was getting headshots into the game. We needed to create a new collider for it, check when it was hit to make sure it was a head shot collider, and then deal extra damage if it was. We ran into several issues for some reason while trying to implement this like bullets passing right through the head, or getting head shots to work but then only head shots worked.
To fix all these issues required different fixes, because several things were wrong. Most of them were simple fixes though, for example, the issue with the bullet passing right through the head shot hit box simply required changing the collision presets. We had an issue where head shots were doing no damage but that turned out to be because we were not properly setting the damage value for head shots. The issue with head shots working but body shots not working was the strangest and to be honest I don't know how it got fixed exactly but it wasn't working at one point and then it was. Either way we eventually got it working properly, thankfully.

- Connor Grimes

Support this post

Did you like this post? Tell us

Leave a comment

Log in with your itch.io account to leave a comment.