Hi
I’m new to Unreal and I need some help.
So I’m working on my first demo project as a way to get more familiar with Unreal.
My game calls for the player character to grab a particular item (a static mesh actor) and bring it close to a door that will slide open if detects the item near.
I have the door slide animation and a trigger volume around the door but I can’t get it to work with the mesh actor I want. So far I’ve managed to get it to open with by pressing a keyboard key while being inside the trigger volume.
First I tried using an Equal object node with a reference to the item and the trigger volume’s OnActorBeginOverlap node, it didn’t work. Later, after looking up forum posts and going through the documentation, I figured I should be using a Cast to StaticMeshActor with the trigger volume, but I still could not get the door to open. I tried connecting a Key press node to the Exec of the Cast to node and it also wouldn’t work.
I believe the volume trigger can detect any actor that is within its border, right? What nodes could I use to make this work? Or is it the way the nodes are connected? Maybe I’m not properly referencing the StaticMeshActor? is it an instance of an actor or the actor proper?
I’m a bit lost and I feel like I’m grasping in the dark, like I’m just randomly connecting nodes hoping something will work. I don’t even understand what I’m doing wrong.
If it helps, I’ve added an screenshot of my blueprint.
Thanks in advance. Cheers!
