I am thinking about a functionality where player looks down under his feet in first person view, some stuff appears out of thin air in front of him (in the view).
The idea is to have things that need to appear (3D widgets in particular) to be attached to the player at an offset, and be hidden until certain moment. Since I am pretty sure I need to do tracing from the view to the world anyway (for interactive objects), I am thinking that if I have a trigger volume attached in front of player, close to his feet, I can trigger 3D widget to appear when trace hits the trigger volume at player’s feet and hide it again when trace stops hitting it.
How do I go about implementing such contraption ? Thanks.
Its not that complicated but are you sure you want it this way?
Because when you want the widget to appear when the volumen gets hit with a trace, you have to shoot down?
So why not just trace for the player / his capsule? Or even take a big volume around the player so that you dont need any traces to trigger it.
Start with tracing for the Character and create/hide/etc the 3d widget.
The simplest solution to this is to just open the character blueprint, and place a static mesh on the player, and have it set low as to only be seen if you look down.