Hello FP, I wanted to ask if its a bug or not, that PANEL:MoveTo() doesnt work with -y, like -ScrH() doesnt work, it is instantly there.
Change the lerping speeds and stuff.
[QUOTE=Chessnut;48503833]Change the lerping speeds and stuff.[/QUOTE]
You mean how fast it moves in? I doubt its would solve that, since it works pretty fine from right, bottom & left, only the top is shite.
[URL="https://www.youtube.com/watch?v=xA3KkGFf1wM&feature=youtu.be"]MoveTo works fine.[/URL]
[CODE]
local w, h = ScrW(), ScrH()
local frame = vgui.Create("DFrame")
frame:SetSize(w, h)
frame:SetPos(-w, 0)
frame:MoveTo(0, 0, 1, 0)
frame:MakePopup()[/CODE]
That's not showing what he's talking about though. He posted in another post as well saying that translating to negative y-coordinates instantly sets the panel's position there, rather than interpolating it. You should provide a video with that scenario instead.
[QUOTE=McDunkable;48507859]That's not showing what he's talking about though. He posted in another post as well saying that translating to negative y-coordinates instantly sets the panel's position there, rather than interpolating it. You should provide a video with that scenario instead.[/QUOTE]
As I said in the above post, we only are able to let it move in from right, bottom and left, the top comes in instantly, even if I would set the speed to 5 seconds.
My bad.
Just tested this, you can't set negative Y position for panel (for some reason).
Sorry, you need to Log In to post a reply to this thread.