ue4 Line-trace door bug
So I have this pretty strange bug with my doors. In my FPS blueprint I have a linetrace that casts to my door blueprint. I am using a flip flop so when my linetrace hits, one of my values will be 90 degrees and that will rotate the door, but when it hits again, the rot value goes 0 degrees and the door closes.
However, when I open one door, and try to open the other door, it makes the closing door noise and doesn't open. I have to press 'e' again for the linetrace to open it and then the door opens. This is because it's the same blueprint and it thinks it's the same door or something of that sort I think. I don't want to have to use multiple door bp's if possible, so any help would be appreciated. Thanks!!!
Create a custom event inside of your "LinetraceDoor" BP. Put all of that logic in doorbp2.png in the custom event.
Then, after casting to lintracedoor, call the function (aka custom event) on the door (drag from pin "As Linetrace Door")
I think this will solve your problem!
Follow this question
Once you sign in you will be able to subscribe for any updates here