Problem castin from one actor to another

Hello. I’m new to Unreal engine. But I’m trying to make my first game.

I just have a problem. I’m trying to cast from one actor to another. From a key to a doorlock to be precise. But everything i try just fails. And i have no idea why. You can see pictures of my blueprints below.

I would be very pleased if someone knew why my blueprint isn’t working.

Thank you in advance :slight_smile:

How are you implementing the key?

Typically you store a value for a key on the character.
On overlap you cast to the character and get the value of the key var then compare.

The Door would be the actor with the overlap collision and key/lock logic.


Image above your asking if the door itself has the key.

Nevermind, I managed to find a solution.

Here is my solution if anyone is curios:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.