How to make clickable actors in third person gamemode?

I’m trying to make it so the player can click some objects in third person mode. Currently I have it so that the player can press 0 to 1. move & freeze their camera in a top down view and 2. allow the mouse to move around and be seen. (as seen below, minus the mouse bit, but the mouse is working).

I’m trying to make it so that I can click these actors that aren’t the player in the scene. I’ve turned on enable click events and enable mouse over events in the player controller but I can’t get it to work.

I’ve also enabled the visibility overlap collision in the character collision and mesh component, yet it’s still not working.

Not sure what I’m missing but any help would be appreciated!

Id recommend using an interaction interface, and running the click events from the player BP. Essentialy from the players BP on click event, you run a “get hit result under cursor by channel” with the hit actor check “does implement interface”. From there you can call functionality from the NPC. The only issue is I believe by default in 3rd person top down IMC mode clicking moves the player, I like to use another keybind for interaction it’s just easier than implementing an ovveride.

Since I’m using third person I currently use WASD to move. I’ll look into getting an interaction interface running when I finish a couple things and let you know how it goes thanks!

You are a godsend, that worked! I just had to make sure to add a custom trace channel though and set it to block, but now it works perfectly!

1 Like