# Collision doesn’t want to work when it’s not the root element.

**URL:** <https://forums.unrealengine.com/t/collision-doesn-t-want-to-work-when-it-s-not-the-root-element/1585748>\
**Category:** World Creation\
**Tags:** root-component, unreal-engine, Collision, projectile, question\
**Created:** [January 3, 2024, 9:34pm UTC](https://forums.unrealengine.com/t/collision-doesn-t-want-to-work-when-it-s-not-the-root-element/1585748 "2024-01-03T21:34:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikelKram](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mikelkram/32/1011745_2.png) [@MikelKram](https://forums.unrealengine.com/u/MikelKram)\
**Post date:** [January 3, 2024, 9:34pm UTC](https://forums.unrealengine.com/t/collision-doesn-t-want-to-work-when-it-s-not-the-root-element/1585748/1 "2024-01-03T21:34:23Z")

</div>

Collision doesn’t want to work when it’s not the root element. But if you make it root, its orientation breaks.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/a/f4ab13cfef17941d76afb47291c248c09f5f5d9d.jpeg)

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [January 3, 2024, 9:52pm UTC](https://forums.unrealengine.com/t/collision-doesn-t-want-to-work-when-it-s-not-the-root-element/1585748/2 "2024-01-03T21:52:51Z")

</div>

If you change from “No Collision” to an actual collision response, chances are that you’ll get a collision response!

---

<div class="post-metadata">

**Author:** ![MikelKram](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mikelkram/32/1011745_2.png) [@MikelKram](https://forums.unrealengine.com/u/MikelKram)\
**Post date:** [January 3, 2024, 10:25pm UTC](https://forums.unrealengine.com/t/collision-doesn-t-want-to-work-when-it-s-not-the-root-element/1585748/3 "2024-01-03T22:25:11Z")

</div>

I turn on collision in blueprint after launching projectile  
I would like to understand how to make a working collision so that it is not a root component

---

<div class="post-metadata">

**Author:** ![MikelKram](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mikelkram/32/1011745_2.png) [@MikelKram](https://forums.unrealengine.com/u/MikelKram)\
**Post date:** [January 3, 2024, 10:48pm UTC](https://forums.unrealengine.com/t/collision-doesn-t-want-to-work-when-it-s-not-the-root-element/1585748/4 "2024-01-03T22:48:15Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/3/1/13168cce871acaa349ddd1283a2bf39e47e53ef7.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/b/5abda9d6076fa33abcea752c34a926aefc42343c.jpeg)  
“Set Updated Component” saved me)

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [January 4, 2024, 3:18am UTC](https://forums.unrealengine.com/t/collision-doesn-t-want-to-work-when-it-s-not-the-root-element/1585748/5 "2024-01-04T03:18:24Z")

</div>

A delay like that is almost guaranteed to cause race conditions and other badness in your game.  
If there’s a particular thing that needs to happen at a particular time, you should change it in the appropriate callback inside either the actor or the component.

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [January 5, 2024, 4:48am UTC](https://forums.unrealengine.com/t/collision-doesn-t-want-to-work-when-it-s-not-the-root-element/1585748/6 "2024-01-05T04:48:37Z")

</div>

The projectiles don’t work right if the collision is not the root.

That’s due to their code. Nothing you should do about it either.

By default, they magically work at any speeds so long as you aren’t simulating physics on them.

When simulating physics (cannon ball like), then you get problems of all sorts you need to try an account for.  
To the point you just dont.  
You use something like predict projectile path instead and sort everything out based on a mathematic model rather than a really really bad engine driven Chaos tainted physics simulation.

> [@MikelKram](#):
>
> But if you make it root, its orientation breaks

Thats your gizmo that is showin you something other than Global.  
Bottom left corner shows you X forward is correct.

If your gizmo is in global, the the rotation is something you manually caused when placing the collision in.

Also, _anything_ with collision can work as a root - you aren’t forced to use simple objects or engine collision components - at least not in .27 and before…

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [February 4, 2024, 4:49am UTC](https://forums.unrealengine.com/t/collision-doesn-t-want-to-work-when-it-s-not-the-root-element/1585748/7 "2024-02-04T04:49:23Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
