How to combine Line Trace and Box Collision Overlap

kirompower
Fri, 25 Aug 2017 13:17:40 +0000
Architectural and Design Visualization

Hi Guys !
This is my first project with Unreal and all goes more than well, but I’ve come to a point where I can’t find any resources or information to continue.

The situation is as it goes:

I have a set of lamps in an interior scene, so I made them to turn on and off by a key only if you look at the lamps ( LightTraceByChannel), so everything is great, but now I want to make the light trace or maybe the button input to work only when I am in a specific areas (near light switches of course ), tried adding a “OnComponentBeginOverlap” but it doesn’t seem to work or I am doing it wrong. (the highlighted in red nodes are the lamp custom event just for easier orientation)
Any suggestions, and do please explain like to a 4 year old, this is my first Unreal project and I come from a 3d background only, no coding.

Here are a few screens showing my Lamp Blueprint (where my custom event is) and my Character Blueprint (where my Line Trace is)
And a third screen just to show off the project on the left is Unreal, on the right is VRay

Thank you in advance !

4 posts - 1 participant