Overlapping actors with box collision inhibits each other
Hey! I've had some problems creating a light switch system in UE4. The first blueprint I made didn't fire correctly when duplicated in the content browser (as a way of being able to customize different blueprints independently), because even child blueprints didn't work out. So I came up with the idea to create two blueprints, one for signaling and one for the visuals.
They both have a box collision in the exact same size and position. One of them has a light switch asset, and it's only purpose is to control the state of that asset when interacted with. No blueprint communication at all. The other blueprint is casted to from a light source, to check if it's state is on or off. This way I can just place them them together in the editor, and the player interacts with them simultaniously when they enter the box collision and input is enabled for both blueprints. Problem is, it won't work when they actually overlap in the editor. I don't know why this would happen. I have tried moving them apart, and then the system works just fine. But when they are at the same location, the player input event actually never fires for the actor that controls the state of the light.
If anything is unclear, just ask. But long story short, two actors placed on top of each other in the editor inhibits each other from working properly, and I have no idea how to fix it.
asked Mar 05 '18 at 08:56 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here