Viewmodel not fitting to screen

So I’ve been messing with view model stuff and I can’t seem to make the view model fit to every screen.
I’ve been trying to do ViewportSize math, yet I still can’t figure out why it’s not scaling correctly.
Desktop:


Mobile:

As you can see in the second image, the watch is not anywhere near the side of the screen, but far away.
Math:

local WatchSize = WatchModel:GetExtentsSize().Magnitude --2.9758198261261, size is 1.13982964, 2.40062904, 1.33913136
local CamViewSize = CurrentCamera.ViewportSize.X
local CamMath = CamViewSize / (WatchSize * ("1%s"):format(rep(0, len(CamViewSize))) / 30)

Help is appreciated.

1 Like