V0.0.2 Devlog-EN
Hit Detection
Author: Eyon Norman
06/21/2024
The Problem:
Hit detection for our player went pretty smooth. The player attacks, calls an anim notify state, then during that state draws spheres to detect collision. The first problem was to figure out if we wanted to keep the way that does damage. Currently with that setup the light attacks draw less spheres than the heavy attacks giving the heavy attacks more damage. Another part of the problem was we only wanted the enemy to do damage once per attack animation.
The Solution:
We decided to keep the multiple hits for the player, The enemy however we still only wanted to do damage once. So instead of straight up calling apply damage after checking to see if the hit object is a player. I added a Do once node that way it only applies damage once for the enemies. After the apply damage function is done it adds a delay before damage can be done again. This is currently set to 0.5 which works for now but eventually when we get more enemy attacks this will change to the specific duration of the attack animation that is playing
Get Plight of the Gods
Plight of the Gods
Fight your inner self to heighten your inner self
Status | Prototype |
Authors | acidwalrusdigital, ilrathCXV (FM), KevinHall14, MysticF0x, Lhans |
Genre | Fighting, Adventure, Role Playing |
Tags | 3D, casting, Fantasy, Magic, melee, Singleplayer, student |
More posts
- Devlog Update: Plight of the Gods is Now Live!98 days ago
- V0.1.3 - KHJul 26, 2024
- V0.1.3-Devlog-ENJul 25, 2024
- V.0.1.3 Devlog - LHJul 25, 2024
- v0.1.3 - DevLog - JRJul 25, 2024
- V0.1.2Jul 20, 2024
- V0.1.2 Devlog - LHJul 20, 2024
- V0.1.2 Devlog-ENJul 18, 2024
- V0.1.1 Devlog-KHJul 13, 2024
- v0.1.1 DevLog - JRJul 12, 2024
Leave a comment
Log in with itch.io to leave a comment.