# Enable collision on Scene Component?

**URL:** <https://forums.unrealengine.com/t/enable-collision-on-scene-component/442458>\
**Category:** World Creation\
**Tags:** interaction, scene-component, unreal-engine, Physics, Collision, dynamic, question\
**Created:** [January 31, 2019, 5:39pm UTC](https://forums.unrealengine.com/t/enable-collision-on-scene-component/442458 "2019-01-31T17:39:15Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![mg\_moxier](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mg\_moxier](https://forums.unrealengine.com/u/mg_moxier)\
**Post date:** [January 31, 2019, 5:39pm UTC](https://forums.unrealengine.com/t/enable-collision-on-scene-component/442458/1 "2019-01-31T17:39:15Z")

</div>

I´m making a interaction system, so when you look at the scene component “Intractable” I need it to send a event to the character etc. Basically my goal is:

When you look at a door knob, a npc, or anything intractable it popups a text saying the name of the interaction. And when you press space it interacts, very easy to do in all other engines, but I can´t understand how to do it in UE4. Thanks in advance 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_776011b61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_776011b61](https://forums.unrealengine.com/u/anonymous_user_776011b61)\
**Post date:** [January 31, 2019, 10:10pm UTC](https://forums.unrealengine.com/t/enable-collision-on-scene-component/442458/2 "2019-01-31T22:10:42Z")

</div>

Hi

You will need to do a line trace with a blueprint interface. I would setup a distance limit so it does not pick things up too far away.

I use this when coming up to shops, so when the player is close enough and taps the screen, it finds which BP I have tapped on and runs scripting within that blueprint. i.e. opens a widget.

You could run this off event tick, so where ever the player is looking, it could check example 500 ahead and when hits a intractable , a widget opens and you can run interaction of that.

Blueprint interfaces explained here:

Regards

---

<div class="post-metadata">

**Author:** ![mg\_moxier](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mg\_moxier](https://forums.unrealengine.com/u/mg_moxier)\
**Post date:** [January 31, 2019, 10:31pm UTC](https://forums.unrealengine.com/t/enable-collision-on-scene-component/442458/3 "2019-01-31T22:31:20Z")

</div>

Thank you, I’m an experienced programmer so I know all about interfaces, I just don’t know how to put like a collision box on a scene component. I’ve worked with other engines and it has worked there very easily

---

<div class="post-metadata">

**Author:** ![DavidOConnor](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidoconnor/32/978533_2.png) [@DavidOConnor](https://forums.unrealengine.com/u/DavidOConnor)\
**Post date:** [February 1, 2019, 12:26am UTC](https://forums.unrealengine.com/t/enable-collision-on-scene-component/442458/4 "2019-02-01T00:26:44Z")

</div>

@MomoLegitMan… welcome! 🙂

A line trace is an option… you could also add a collision component and use ‘hit’ or ‘overlap’ to generate the event. I think I’ve seen youtube tutorials on this topic implementing interfaces too

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_776011b61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_776011b61](https://forums.unrealengine.com/u/anonymous_user_776011b61)\
**Post date:** [February 1, 2019, 4:41am UTC](https://forums.unrealengine.com/t/enable-collision-on-scene-component/442458/5 "2019-02-01T04:41:52Z")

</div>

Hi

I can not post pictures at moment, not sure why.

But, in Treasure Chest for example.

1. Make the Blueprint
2. Around chest, add a box collision - under Collision on the dropdown menu on left side.
3. Name it
4. Now in the menu on the right side, down the bottom you will see in green, Add event for Begin overlap. Press the +
5. Go to event graph and you will see a node - ‘On Begin Overlap’
6. Out from ‘Other Actor’ drag out and search for your character, example ‘Thirdpersoncharacter’.
7. This will create a node ‘Cast to thirdpersoncharacter’
8. The event node will only fire when the character overlap the collision box.
9. ‘Cast Failed’ will execute if anything else overlaps that is not the player character.

It seems a lot more work then it is, but it is very simple.

**EDIT: Hope these pictures work.**

[![](https://pasteboard.co/HZ5S9An.png) ](https://pasteboard.co/HZ5S9An.png)

[![](https://pasteboard.co/HZ5SzNQ.png) ](https://pasteboard.co/HZ5SzNQ.png)

[![](https://pasteboard.co/HZ5SKAV.png) ](https://pasteboard.co/HZ5SKAV.png)

Regards

---

<div class="post-metadata">

**Author:** ![mg\_moxier](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mg\_moxier](https://forums.unrealengine.com/u/mg_moxier)\
**Post date:** [February 1, 2019, 8:16pm UTC](https://forums.unrealengine.com/t/enable-collision-on-scene-component/442458/6 "2019-02-01T20:16:25Z")

</div>

Thank you, I know how to do collision and line traces and interfaces and all of that, my question is still how to add a collision sphere to a SCENE COMPONENT, that is very important. Would a line trace work for SCENE COMPONENTS ? It´s important that my system is dynamic, not a brute force solution

---

<div class="post-metadata">

**Author:** ![DavidOConnor](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidoconnor/32/978533_2.png) [@DavidOConnor](https://forums.unrealengine.com/u/DavidOConnor)\
**Post date:** [February 2, 2019, 5:52am UTC](https://forums.unrealengine.com/t/enable-collision-on-scene-component/442458/7 "2019-02-02T05:52:21Z")

</div>

@MomoLegitMan… as far as I know scene component and a collision component are simply different things.

As you know, you can have a collision component and scene component in the same location on your actor. But… as far as I know a scene component in itself will neither collide with other objects nor block a trace (though I haven’t tested it… and your proposition worth testing though).

---

<div class="post-metadata">

**Author:** ![mg\_moxier](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mg\_moxier](https://forums.unrealengine.com/u/mg_moxier)\
**Post date:** [February 2, 2019, 8:37am UTC](https://forums.unrealengine.com/t/enable-collision-on-scene-component/442458/8 "2019-02-02T08:37:36Z")

</div>

Okay, in unity and Arma this was very easy. I just made a added a trigger box to it and have it a script. I don’t want to hand code each . Maybe I could have the scene component attach a collide on start. Thanks

---

<div class="post-metadata">

**Author:** ![DavidOConnor](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidoconnor/32/978533_2.png) [@DavidOConnor](https://forums.unrealengine.com/u/DavidOConnor)\
**Post date:** [February 2, 2019, 8:42am UTC](https://forums.unrealengine.com/t/enable-collision-on-scene-component/442458/9 "2019-02-02T08:42:35Z")

</div>

well, you can start with a generic actor… and add whatever components are useful… mesh, collision box/sphere/etc, scene, etc

“A scene component has a transform and supports attachment, but has no rendering or collision capabilities” UE4 tooltip

honestly, I’m puzzled why you absolutely need some kind of combined scene/collision component at all… scene component is just a blank dummy helper…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_776011b61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_776011b61](https://forums.unrealengine.com/u/anonymous_user_776011b61)\
**Post date:** [February 7, 2019, 10:09am UTC](https://forums.unrealengine.com/t/enable-collision-on-scene-component/442458/10 "2019-02-07T10:09:43Z")

</div>

When you add a sphere collision, it is automatically apart of/attached to the scene component.

---

<div class="post-metadata">

**Author:** ![SHIFTYY\_777](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SHIFTYY\_777](https://forums.unrealengine.com/u/SHIFTYY_777)\
**Post date:** [August 9, 2020, 4:54am UTC](https://forums.unrealengine.com/t/enable-collision-on-scene-component/442458/11 "2020-08-09T04:54:41Z")

</div>

I need the same, want to add a box collision inside of a scene component which is just a simple scene component class. so Did you solved it?
