Here’s a quick list of things to check when your collisions are not doing what you want:
- Make sure both actors have a collision mesh. Even default Epic assets don’t all have collisons configured on them
- Make sure the collision modes are set to what you think they are (verify during gameplay by selecting actors and checking the values)
- Make sure the collision modes are not falling back on a more permissive mode
- Ensure you haven’t manually ignored either of the actors, for example via
Actor->MoveIgnoreActorAdd
orIgnoreActorWhenMoving
- If the actor isn’t colliding with anything whatsoever, check that you haven’t disabled collisions via
SetActorEnableCollision
which is separate from using a PrimitiveComponent’sSetCollisionEnabled