How to use " cast to …… " ?

Hello @ElectricRhino597 if you use the Get All Actors From Class node the interact with npc function will call for every npc in the world even if the player is not close. So i suggest to use Get Overlapping Actors node instead.

NOTE: In order for this to work you will need to add sphere collision to your mesh in your npc class

1 Like