Is there an easy way to set an actor to the viewport like the add to viewport for widgets?


In my game there is a drawer that opens. There are different contents in the draw eg. coins, pencils, money and bigger items.
Rather than having the player look at the items top-down looking into the drawer, I wanted to place the items at the top left corner of the viewport and to remain there irrespective of the direction the player is looking. Basically, I want to place actors in the viewport in the same way you can add a widget to the viewport and then set the position in the viewport.

Is the best way to do this just to set the location of the actors relative to the forward direction of the player controller?


The normal way to do this would be with a UMG widget. I think you’ll find it looks weird if you actually put the objects near the camera.