|
Post by bbjones on Dec 16, 2019 21:04:15 GMT
Demo controller works as expected, but when trying to setup my own model as a simple melee controller, I add the vHitEffects to each parent bone of the melee hitboxes, select the included audio source prefab and the same punching/kick sounds, the audio only plays when either me or the AI are blocking.
|
|
|
Post by Invector on Dec 18, 2019 14:34:13 GMT
That's correct, the HitEffects will only play when you actually hit something (wall, enemy block, etc) if you want to add effects to your punch like a 'voosh', go to the Animation Clip and attach a vTriggerSoundByState
|
|
|
Post by bbjones on Dec 19, 2019 17:56:34 GMT
The issue is I can hit the enemy fine and cause damage/knockback on every hit, but the sound only plays when the enemy is performing the blocking animation.
If I use the demo character, the hit sounds plays on all hits to the AI.
|
|