# Need help with collision issue

**URL:** <https://forums.unrealengine.com/t/need-help-with-collision-issue/232133>\
**Category:** Community & Industry Discussion\
**Tags:** unreal-engine, UE4-26\
**Created:** [May 29, 2021, 6:32am UTC](https://forums.unrealengine.com/t/need-help-with-collision-issue/232133 "2021-05-29T06:32:32Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 29, 2021, 9:08am UTC](https://forums.unrealengine.com/t/need-help-with-collision-issue/232133/3 "2021-05-29T09:08:15Z")

</div>

It’s not about the _capsules_ per se - nothing magical here; it’s the Movement Component - it only accounts for the root element of the actor, and here the capsule happens to be the root.

The Gun Capsule is ignored when the movement component calculates final movement position for the frame.

You’d need manually detect / track gun capsule and force the movement component to act accordingly.

> Yet, one of the first disappointments the first time you make a game, adding collisions to the capsule does not affect the capsule. The capsule is a magic / special object that does not use the normal physics system.

(edit: I think you _really_ meant: attaching collision components to the root component)

You do not add collision to the capsule - the capsule _is_ the collision and it works fine with physics:

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/8/118171e8f2c86ac6cee0258af7ab9309d7f66d0d.gif)](https://gyazo.com/46a39847c5ad7ff758cbda127643bcbe)

Irrelevant to the topic at hand but since it was mentioned - attaching collision to the root would work pretty well for physics sim. _Welding_ kicks in and allows the root to take advantage of the attached elements’ collision - [example](https://forums.unrealengine.com/t/shield-collides-with-own-ship-when-going-too-fast/228137/7).

> attaching collision to the root would work pretty well for physics sim

The problem with this is that moving the character has little to do with physical simulation 😑 - so this does not apply.

* * *

From the component:

```
* Normally the root component of the owning actor is moved, however another component may be selected (see SetUpdatedComponent()).
* During swept (non-teleporting) movement only collision of UpdatedComponent is considered, attached components will teleport to the end location ignoring collision.

```

I’ve yet to play with this for anything serious but it might be worth looking into SetUpdatedComponent.

---

_[View the full topic](https://forums.unrealengine.com/t/need-help-with-collision-issue/232133)._
