Make my UIWidget (HUD text) move with camera shake?

hi guys,

im using a health bar widget, that is text and percentage (HULL %100) for my player pawn.
Everytime there is a camera shake (scripted explosion, crashing into a mine, enemy blows up etc etc) the cockpit shakes, as I call my global camerashake scripts.

How can I make the widget text, move with the camera shake, ie the cockpit rattles around for a few seconds, but the text stays in the same spot naturally. How can i fix it, thank you.

Here is a screenshot, and one of my camera shake scripts (this script is for 1 of my floating mines)

I’m actually a bit confused. Do you want the UI to shake with the world or are you trying to make it stay still while the world shakes?

hi i want it to shake with the world, thank you.

are you going to help, or just ask stupid questions?

This works properly for me, I am updating the widget position in viewport every tick. How are you setting the widget position?

wow… screenshoting this one. Thank you.