# How to setup an actor to collide with a specific subset of players?

**URL:** <https://forums.unrealengine.com/t/how-to-setup-an-actor-to-collide-with-a-specific-subset-of-players/323791>\
**Category:** World Creation\
**Tags:** ignore, unreal-engine, Collision, groups, question\
**Created:** [July 2, 2015, 7:10am UTC](https://forums.unrealengine.com/t/how-to-setup-an-actor-to-collide-with-a-specific-subset-of-players/323791 "2015-07-02T07:10:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_63433c80](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_63433c80](https://forums.unrealengine.com/u/anonymous_user_63433c80)\
**Post date:** [July 2, 2015, 7:10am UTC](https://forums.unrealengine.com/t/how-to-setup-an-actor-to-collide-with-a-specific-subset-of-players/323791/1 "2015-07-02T07:10:15Z")

</div>

Hi,  
I’m trying to implement a kind of “energy fence” object that lets players of one team through while blocking players of the other teams (I have more than two teams). Is there a way to dynamically create collision groups or setup the object to ignore collisions with specific actors?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_63433c80](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_63433c80](https://forums.unrealengine.com/u/anonymous_user_63433c80)\
**Post date:** [July 2, 2015, 8:15am UTC](https://forums.unrealengine.com/t/how-to-setup-an-actor-to-collide-with-a-specific-subset-of-players/323791/2 "2015-07-02T08:15:39Z")

</div>

I ended up using Pawn “Ignore Actor When Moving” function on my player characters to prevent them from getting blocked by the object when moving.
