worldToScreen on changing resolution

hi!
I have an issue using worldToScreen. I want to move my UI object to my 3D world object world position. using camera worldToScreen works fine when I’m using designResolution. But it doesn’t seems right rotating and changing resolution.

In test case I call move function on button click

Design Resolution

Any other resolution

NewProject_65.zip (4.4 MB)

Try to refresh, it should be ok, it’s just simulating different resolution, so lack of some re-adaptation

hi!
I can use
camera.worldToScreen(new Vec3()).divide3f(view.getScaleX(), view.getScaleY(), 1)