Tactical Pack - Attack doesn't always work

artius

New member
So I'm using the default Attack action in the TP. I'm having an issue where the Tactical Agent will always move toward the target, but won't always attack. Has anyone ever encountered this?
 

Justin

Administrator
Staff member
What does TP stand for? Can you place a breakpoint within TacticalAgent.CanAttack to see why the agent isn't attacking when you think that it should?
 

artius

New member
Sorry for the late reply. TP is the tactical pack.

I figured out the issue. I was using child objects as hitboxes so they were interfering with the Linecast that was performed to find the target. I had to change the Ignore Layer in the Linecast code.
 
Top