Hello
I’m trying to create an actor with whom the player can interact if he’s close. In this case the player
detection works but I can’t interact with the actor and i don’t understand why. Here is a picture of my problem:
First check that Box component overlaps the player character collision (and check that player collision overlaps with Box collision type)
Dont use Cast on overlaps, instead use Other Actor == GetplayerPawn or GetPlayerCharacter
When you press Interact button you can use IsOverlappingActor using GetPlayerCharacter instead of Begin Overlap and EndOverlap (and avoids problem if the player start inside Box collision)
I’ve redone my program as you recommended but it’s still not working. It’s strange because I’ve already done this kind of program and it worked very well before.