Hello, I have a 2 different objects (apple & crisps) that can picked up by the player, however I want to add a couple of features to make it easier for the player. Firstly I want it so when the player looks towards an objects direction, it says just above the object (Press “E” to eat apple etc.) The second feature is I want to make interactive items like the apple to flash once every couple of seconds or so to catch the players attention, I’m not too good in the material side of UE4. Thanks in advance!
As far as the flashing goes, that is pretty simple, in this video (https://www.youtube.com/watch?v=K5xv5NZEj9k) skip to the 31:10 timestamp and you can see the material setup for a strobe, using some simple math you can adjust the curve for the lerp.
Thank you Jamendxman3 that’s the item flashing part solved! If anyone knows the simplest way of me doing the item name above item part then that’d be grand
I would create a UMG object which you can animate and attach to the actor. Then you can use a line trace to check if the player is looking at the apple.