You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we have no detected hitbox which means we will win every fight eventually. ;-) Let's change that.
TODOs
Implement hero health bar at bottom of view next to air bar
Attack animations define Hit_Limb, Attack_Window, etc. We need to store it somewhere in e.g., Props or PrefabProps and collect its information at runtime when the "hit" with our hero is processed.
If monster is using its fists - Coll detection with monster collider and FightMode and current attack window
Activate Collider named in HIT_LIMB when attack window is active
Deactivate immediately if Attack window changes or the attack - which activated the HIT_LIMBs - is stopped
If monster is using weapon - Coll detection with weapon collider and FightMode and current attack window
Reset these values if Attack is stopped (where to do centrally? When monster is hit, yes, but can also happen when monster is falling down etc. Maybe simply when Attack() is stopped (finished or deleted from queue).
Visual Player hit
Fetch event to substract VRPlayer's health bar
When hit, darken vignette around us for a second to symbolize: Hit
Play sound of "Aargh"
Stop player combo immediately (at VRWeaponDomain or so) and Reset()
Fetch event like in FightService (then: VRPlayerService or so...) and check if dead
Description
Currently we have no detected hitbox which means we will win every fight eventually. ;-) Let's change that.
TODOs