# Have a component (like an AI's shield) simulate physics?

**URL:** <https://forums.unrealengine.com/t/have-a-component-like-an-ais-shield-simulate-physics/449500>\
**Category:** World Creation\
**Tags:** simulate-physics, unreal-engine, component, question\
**Created:** [May 23, 2019, 10:41pm UTC](https://forums.unrealengine.com/t/have-a-component-like-an-ais-shield-simulate-physics/449500 "2019-05-23T22:41:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kami822](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kami822](https://forums.unrealengine.com/u/Kami822)\
**Post date:** [May 23, 2019, 10:41pm UTC](https://forums.unrealengine.com/t/have-a-component-like-an-ais-shield-simulate-physics/449500/1 "2019-05-23T22:41:29Z")

</div>

I have a sword and shield type AI that is based off the character class and is using physical animations. Whenever the skeletal mesh collides with something, it can be pushed around but the shield and sword components go through objects. I understand this is because they are not simulating physics and thus have no collision but simulating physics makes them detach and fall to the ground.

How do I have it such that if the shield is pushed, for example, it acts as part of the skeletal mesh it is attached to and thus causes the arm to be pushed too? At the same time, the components will need to be able to detach on AI death.

I’ve been searching around for an answer for this and haven’t been able to. Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![Kami822](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kami822](https://forums.unrealengine.com/u/Kami822)\
**Post date:** [May 24, 2019, 10:17pm UTC](https://forums.unrealengine.com/t/have-a-component-like-an-ais-shield-simulate-physics/449500/2 "2019-05-24T22:17:58Z")

</div>

I figured it out! In the Event Graph of my character AI, I just use Attach To Component between my sword or shield and the mesh on BeginPlay. Even though it was already attached before by way of the component list, it did not work until I did this.

Cheers!
