Hello again. I was wondering if anyone could tell me what I’m doing wrong on this one. I have a simple purple square as a button that I want to be able to step on to open and close the nearby door. However, it will not work. I’m thinking that it may be due to multiple collisions hitting the box trigger on the button, causing the door to close instantly and I never see it move, because my print command shows two hits when I step on it. I’m not sure what to try though to fix it. How do I make it so that when my player overlaps the trigger, it only activates once? The same door works perfectly fine with a line trace and cast command and I have no problem opening and closing it.
Here’s the BP for the button that is supposed to activate the command to open the door when you walk on it.
And here is the BP for the door itself.
Like I said, when my player hits the door with a line trace and I follow it up with the Open/Close event it works fine. But for some reason the overlap event on the button command is triggering twice, which is why I think the door doesn’t actually look like it opens and closes because it’s doing it instantly.