How to keep the HUD in place while rotating camera?
Hello all,
as the title says, in my game I rotate the camera from 0, 90, 180 or 270 or vic versa. I have a counter that is in the top left corner of the camera. I am wanting to keep the counter always in the top left corner no matter when you rotate the camera. Is there a way to lock the counter to the top left corner of the camera? The only way I have been able to achieve this is telling the hud to be in a specific location depending if the the camera rotation = 0, 90, 180 or 270 but by doing it this way, when rotating the camera the counter disappears then pops in once the camera has rotated to it's specified location. Hope this makes since and thanks in advance!
Thanks!!!
as the title says, in my game I rotate the camera from 0, 90, 180 or 270 or vic versa. I have a counter that is in the top left corner of the camera. I am wanting to keep the counter always in the top left corner no matter when you rotate the camera. Is there a way to lock the counter to the top left corner of the camera? The only way I have been able to achieve this is telling the hud to be in a specific location depending if the the camera rotation = 0, 90, 180 or 270 but by doing it this way, when rotating the camera the counter disappears then pops in once the camera has rotated to it's specified location. Hope this makes since and thanks in advance!
Thanks!!!
Comments
I've opted to use minimal HUD on my game and keep the counter on the camera controlled actor. and the end of a scene I set the camera rotation to 0 where I have my end level screen placed.