How to make 3D UI fixed in certain position related to viewport without jittering?

I make a blueprint to fix 3D UI in front of my camera, but I get jittering rendering of 3D UI.

I guess the reason is frame rate is constantly jittering? But I can’t explain more.

My 3D UI is

The blueprint in my 3D UI is

https://blueprintue.com/render/nayrfe54/

The main idea of blueprint is get world position of screen center, base on that, the desired location and rotation are calculated. Then set location and rotation of actor that have 3D UI widget children.

My jittering rendering of 3D UI is

output

I have thought about attach 3D UI widget component to camera component, but seems like component can not have child component.

And I have tried interpolate last location and desired location of 3D UI, but it will introduce a legacy effect that seem like 3D UI is “chasing” my viewport. I don’t want the effect.

Any idea about making 3D UI fixed in certain position related to viewport? Thanks a lot!


Just add the widet components to the follow camera.

No lag

Perfect, that is my fault for lacking knowledge about tools.