I’ve been trying for days, and am not going to figure this out on my own. Collision works fine when either of my pawns collides with a static actor, but the OnHitComponent (Capsule) event is not activated when the capsules of my two pawns collide.
The event does get activated if the capsule’s simulate physics is set to enabled, but then the capsule falls to the ground, or is bumped away from the pawn.
I move both pawns with AddRelativeLocation in C++. Setting sweep to true doesn’t help. Tried to work with overlap events, no luck. The pawn collision preset yields the same problems.
Here are the class hierarchies for my 2 pawn classes.
And both capsules’ settings (they are the same):