My HUD works on my player char, but not when i posses cars
I have created a HUD with health, armor and a clock. It works great on my playercharacter. However, when i enter a car (posses a car pawn) my HUD dissapears. My actor is hidden, not destroyed whilst i am controlling the car pawn. And my HUD is set as the default HUD.
I think it is due to me not being able to get a playerchar health reference when i cast to the cars, but i also fail to do it with the clock, i have tried for hours and with videos but i can't seem to figure it out.
I would like to find a way to keep my HUD (health/armor/clock) exactly as it is on the screen when i posses/enter a car like when my character is on foot. Is there any way to do this?
thanks in advance!
asked Dec 09 '18 at 10:02 PM in Blueprint Scripting
Edit: OK its not the player controller, but if you store anything in your player character ( like the third person char ) it will disapear when possessing, so i will try to make everything in the player controller and see if it work...
Follow this question
Once you sign in you will be able to subscribe for any updates here