Download

Sensing the player

I’m trying to make a radar-like component that can see and track a player on the map. So, to do that I made a new blueprint(actor class), put a static mesh in it(so I can tell where it is), and added a PawnSensingComponent. I added an event, OnSeePawn to the PawnSensingComponent, but it’s never triggered no matter how close I am. What’s the proper way to do this? I get the feeling that it has something to do with the Socket of the PawnSensingComponent, but I haven’t seen any information on how to set the socket.