How to Make Actors With Same tags Not Collide With Each Other?

Hello, I’m wondering if there is a way to make actors with the same tag not collide with each other.
If not so what another way can you make let’s say teammates to not collide with each other but just with enemies?

Actually, yes, there is a way to add an actor instance to a list of actors to ignore, and I believe the IgnoreActorWhenMoving node is what you need.

This is applied to the collision component(s) of the actor, and takes the other actor to ignore as an argument.

So, you would simply loop over each of the actors in your team, say, and add them to the list of ignored actors once they have all been instantiated in the world.

Naturally, the more numerous the objects in the list, the less appealing this solution is, but it should be suitable for your needs.

In C++ the FCollisionQueryParams offer the method AddIgnoredActor(const Actor* InIgnoreActor) and there is also a similar method that takes a TArray of actor pointers.

Thank you so much it worked! I had no idea about the Ignore Actor When Moving node, it did help me a lot. Many thanks!

I’m glad that it worked - I’ve never actually used it myself, so I was relying on the documentation being accurate. =P