Hitboxes and Animations
The main issue this week was finding animations for the enemies and tying them to the existing AI behaviors, such as attacking. The animations themselves were easy enough, however with the current hitbox system we had in place, we struggled a bit to get them to turn on and off at the correct times during the animations. A big problem was that its not very easy to debug ABPs or event dispatchers without putting print strings everywhere to see if it was behaving the way we thought. Eventually we were able to find out that it was behaving how we thought it should, but the hit and hurt boxes were not interacting correctly.
The way we fixed this is instead of directly adding a socket to the skeleton and adding a hitbox to that socket, we had to make and invisible "weapon" that had a hitbox and attach that to the enemies. This allowed the system to work correctly since it was expecting some kind of "weapon" to work properly. Once we figured that out we were able to properly test and adjust the animations and hitboxes of the enemies' attacks to damage the player properly. It also led us to discovering another bug with the player not being able to damage the enemies so in the end it was a bit of a blessing in disguise.
Author: Chase Thacker 2/1/2024
Just A Simple Farming Game
Status | In development |
Authors | Golden Goblins, SeotatopDehsam, MOOster_MOO, WendigoCrypt, zoleda_davila, SenorCarlito, thackattack42 |
Genre | Simulation |
Tags | Action-Adventure, Farming, Third Person |
More posts
- Sneak Peek: Farm CutsceneMar 19, 2024
- Fine-tuning Enemy AIMar 01, 2024
- Major Perforce IssuesMar 01, 2024
- Animations Failing To PlayMar 01, 2024
- Getting Random Location In a NavMeshFeb 29, 2024
- Issues with Testing Spawn PointsFeb 29, 2024
- Double Use of Seed ItemsFeb 25, 2024
- NavMesh not updatingFeb 24, 2024
- Issues with Player LocationFeb 23, 2024
- Foundations of Enemies and AnimationsFeb 17, 2024
Leave a comment
Log in with itch.io to leave a comment.