I've followed #13 & #14 Invector AI Template tutorials and while #13 works fine (motion, waypoint, hitreaction, death, hitbox) i've noticed a bug with my vShooterController.
- If the enemy has the "enemy" tag and the "enemy" layer, i cannot hit the enemy.
- If the enemy has the "enemy" tag and the "default" layer, i can hit the enemy.
About my issue: it seems that the WeakAttack condition is never triggered (although my character is in the combat range.) and the animator is looping the locomotion.
HitReaction and Dead do work fine in animator by the way.
I'm using the latest versions of 3rd person shooter & FSM AI and the only thing i'm missing from the youtube tutorial is the state listener on my attack animation (but i can't find it in the AI scripts folder so I guess it was removed)
Any help will be appreciated.
Edit : I did reinstall both 3rd person shooter & FSM AI and checked the demo scenes. Enemies already created with the enemy layer receive damage but even humanoid enemies created by me using the tutorials (#3 Tutorial v2.0 - Enemy and Companion NPC for instance) have the same issue : they receive damage if the layer is set to default and if the layer is set to enemy, i can't hit or damage.
AI Controller controls who can he see in the "Detection" tab: - Detect Layer - Detect Tags - Obstables Layer (can't use the same as the Detect Layer)
MeleeManager controls who you can hit using Melee Weapons - HitDamageTags
AI ShooterManager controls who can you shot using shooter weapons - Damage Layer (You can use 'Enemy' to hit the main capsule collider or 'BodyPart' to hit individual bodyparts using the ragdoll as explained in the documentation