Can't interact with anything

Hey, I currently have this set up for my interaction with objects, but when I press E on the object (which is the interact key), nothing happens, I have tried it on other things, it is not just the door.

Interaction:

Door:

Enable input for the player. Put print statements all around your code to see where it fails. Make sure the door is not static.

For example, print the name of the actor hit by the linetrace. Print something inside the use event.

Alright, I will put print statements in tomorrow, I also cant interact with any other blueprint, so pretty sure the door is fine. Not really sure what you mean by enable input for the character (new to ue).

Ok, it looks like it is not getting past the branch for some reason. Anything before the branch prints, but anything after it does not print. Any ideas?

Bump? Really bugging me :confused:

It all works untill it gets to the branch node.

Sorry, I must have missed the notification about your comment.

If the branch stops it, then you never hit anything. As such it returns false in the boolean and you never execute the true branch. Try removing that branch and let it fire without a check for a test. Later you can simply check if it implements the interface you are using or not.

Oh, I really did not think that would be the problem as I always check that… My bad. Sorry.

I think I found the problem, the door had no collision ;_;. It seems to be fixed now, there is 1 more thing that needs fixing but I will figure that out. 1 more thing, say I wanted the player to only be able to open the door by interacting with the door knob only, how would I do this? Thanks for the help btw!

EDIT: I think I figured it out, I put a collision box around the door knob and set it to ignore only pawn, and then I put a collision box around the whole door and set it to invisible wall.

Thanks for all the help! :slight_smile:

I think I found the problem, there was no collision on my door :/. Thanks for all the help! :slight_smile:

All good, thanks!