Dear Community!
I’ve been working on simple AI behaviour tree based on UE4 quick start guide.
(https://docs.unrealengine.com/latest/INT/Engine/AI/BehaviorTrees/QuickStart/11). AI uses MultiSphereTraceForObject to detect nearby characters, then using LineTraceByChannel it detects whether they are in plain sight. Most of the time it works marvelously:
Perfect hits - sorry for the potato quality.
While sometimes the trace lines do not hit the target actor, even though they are visually passing through him. You can actually notice green end of the trace line coming out from the target actor.
TraceLine uses Camera channel starting from the orange actor, the end point on the white one. The target actor is a pawn with capsule component - collision object type pawn. Any idea what might be causing this, and possibly how to stop this rascalous behaviour?