# How to make attached components not collide with each other?

**URL:** <https://forums.unrealengine.com/t/how-to-make-attached-components-not-collide-with-each-other/408051>\
**Category:** World Creation\
**Tags:** actor, attach, scene-component, unreal-engine, component, Collision, question\
**Created:** [October 26, 2017, 9:44pm UTC](https://forums.unrealengine.com/t/how-to-make-attached-components-not-collide-with-each-other/408051 "2017-10-26T21:44:36Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichaelEvans](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MichaelEvans](https://forums.unrealengine.com/u/MichaelEvans)\
**Post date:** [October 26, 2017, 9:44pm UTC](https://forums.unrealengine.com/t/how-to-make-attached-components-not-collide-with-each-other/408051/1 "2017-10-26T21:44:36Z")

</div>

So I’m basically making a game like space engineers, where you can place blocks in a grid on a space ship. So the ship is an actor, and the different blocks are scene components added to the actor from within the ship actor’s event graph.

The issue is, when I have multiple things attached, some blocks collide with other blocks in the same ship. Like if a character was holding a sword and the sword is colliding with the character’s hand, pushing the actor flying.

I tried doing this by setting the collision channel to ignore itself, but then different ships wouldn’t collide with one another.

Basically I want the whole ship to act as one physics body, not collide with itself, and collide with other ships.

![218068-screenshot-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/4/26449df8303a7edd60f4999f969b26e65b32e0e7.png)

---

<div class="post-metadata">

**Author:** ![Flash7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Flash7](https://forums.unrealengine.com/u/Flash7)\
**Post date:** [October 27, 2017, 2:05am UTC](https://forums.unrealengine.com/t/how-to-make-attached-components-not-collide-with-each-other/408051/2 "2017-10-27T02:05:13Z")

</div>

I don’t know what is Add Reactor function, but have you tried AttachToComponent/AttachToActor?

---

<div class="post-metadata">

**Author:** ![MichaelEvans](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MichaelEvans](https://forums.unrealengine.com/u/MichaelEvans)\
**Post date:** [October 27, 2017, 2:20am UTC](https://forums.unrealengine.com/t/how-to-make-attached-components-not-collide-with-each-other/408051/3 "2017-10-27T02:20:54Z")

</div>

The Add Reactor adding a scene component which extends static mesh component.

---

<div class="post-metadata">

**Author:** ![Flash7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Flash7](https://forums.unrealengine.com/u/Flash7)\
**Post date:** [October 27, 2017, 2:22am UTC](https://forums.unrealengine.com/t/how-to-make-attached-components-not-collide-with-each-other/408051/4 "2017-10-27T02:22:28Z")

</div>

can you post a screenshot of it?

---

<div class="post-metadata">

**Author:** ![MichaelEvans](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MichaelEvans](https://forums.unrealengine.com/u/MichaelEvans)\
**Post date:** [October 27, 2017, 5:39pm UTC](https://forums.unrealengine.com/t/how-to-make-attached-components-not-collide-with-each-other/408051/5 "2017-10-27T17:39:23Z")

</div>

both from the reactor class, it extends static mesh component  
Right now I have temporarily made it so that it won’t collide with other ship blocks.

 ![218161-screenshot-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/3/f039750f7fe08dce331a078bcf8fe0d9027c086c.png)

 ![218162-screenshot-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/1/5/d15eb8331f347b025e624872c12fddc0b1b09b48.png)

![218163-screenshot-4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/4/59477e1e000e68a14d9433d9903ceee34fda2f62.png)

The third one is the call inside of the ship actor class, I attach it to the ship core, which is a static mesh component with simulate physics enabled

---

<div class="post-metadata">

**Author:** ![Flash7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Flash7](https://forums.unrealengine.com/u/Flash7)\
**Post date:** [October 27, 2017, 7:03pm UTC](https://forums.unrealengine.com/t/how-to-make-attached-components-not-collide-with-each-other/408051/6 "2017-10-27T19:03:04Z")

</div>

ok, you can try ignore actor when moving function: [Ignore Actor when Moving | Unreal Engine Documentation](https://docs.unrealengine.com/latest/INT/BlueprintAPI/Collision/IgnoreActorwhenMoving/index.html)

---

<div class="post-metadata">

**Author:** ![MichaelEvans](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MichaelEvans](https://forums.unrealengine.com/u/MichaelEvans)\
**Post date:** [October 28, 2017, 4:50am UTC](https://forums.unrealengine.com/t/how-to-make-attached-components-not-collide-with-each-other/408051/7 "2017-10-28T04:50:16Z")

</div>

Hmmmm, what about when the ship isn’t moving?

---

<div class="post-metadata">

**Author:** ![Flash7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Flash7](https://forums.unrealengine.com/u/Flash7)\
**Post date:** [October 28, 2017, 3:16pm UTC](https://forums.unrealengine.com/t/how-to-make-attached-components-not-collide-with-each-other/408051/8 "2017-10-28T15:16:23Z")

</div>

Try to see if it works. If no moving then no collision, right?

---

<div class="post-metadata">

**Author:** ![MichaelEvans](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MichaelEvans](https://forums.unrealengine.com/u/MichaelEvans)\
**Post date:** [October 30, 2017, 12:44am UTC](https://forums.unrealengine.com/t/how-to-make-attached-components-not-collide-with-each-other/408051/9 "2017-10-30T00:44:26Z")

</div>

I think I’ve figured out what to do, I made them not collide with each other and just overlap, but then if the ship runs into another ship I’ll do the calculations my self for the physics, it’ll probably be easier that way anyway. Thank you for your help though
