I've created my own custom HUD that adds some information to the game. I spawn this HUD by the interaction class and I call its PostRender() function from interaction PostRender() function so I can write on the canvas without problems.
Now I need to use Draw3DLine() function which can only be called from WorldSpaceOverlays() function. The thing is that this WorldSpaceOverlays() function is NOT called in my custom HUD (spawned by the interaction). Is there some way how to trigger the function WorldSpaceOverlays() in my custom HUD, or do I have to set my HUD as the default HUD for the player (which is very undesirable for me, cause I want my HUD to be universal - for all the gametypes).
Thx for all the answers.
sk
Note: Function DrawCanvasLine() with WorldToScreen() are not the solution, cause I need to draw really a lot of information, that should be 3D in the map (some custom navigation points connections, visibility, etc.)
Now I need to use Draw3DLine() function which can only be called from WorldSpaceOverlays() function. The thing is that this WorldSpaceOverlays() function is NOT called in my custom HUD (spawned by the interaction). Is there some way how to trigger the function WorldSpaceOverlays() in my custom HUD, or do I have to set my HUD as the default HUD for the player (which is very undesirable for me, cause I want my HUD to be universal - for all the gametypes).
Thx for all the answers.
sk
Note: Function DrawCanvasLine() with WorldToScreen() are not the solution, cause I need to draw really a lot of information, that should be 3D in the map (some custom navigation points connections, visibility, etc.)