I have started with UE4 and blueprints. First I created a little level and then I “coded” a door with LineTrace because I don’t like the box trigger way.
I added the LineTrace to the FP Blueprint. At the end it calls a custom event from another blueprint called “Door”
That works fine and the door works like I want it. But now as u can see on the screenshot I do a cast to door but when I do that with all elements that I want to include this BP will get over blown.
Now my question is: what’s the best way to “split” it. I think I have to get the object name and do something like if object name = Door call the correct BP.
Can someone tell me if I are on the right way?
Thanks in advanced.