:MoveTo() Method Doesn't Work in ViewportFrames

I used the :MoveTo() method to move models inside viewport frames but it doesn’t work.
I checked for errors and I see no errors. It prints things just fine and everything else works fine except for moving a character model of me.

Before:


After:

Code:

Structure:
structure%20viewportframe%20moveto

Here’s the place file to prove that the gltich exists.

Place file right here to prove that the glitch happens.
ViewportFrame MoveTo() Glitch.rbxl (39.4 KB)

3 Likes

It’s not a glitch, it’s just how MoveTo works. Try setting the CFrame of AstreastlaTest.HumanoidRootPart to CFrame.new(0,16,0).

Have you also checked that the Character model and the Plate parts aren’t welded to eachother somehow?

1 Like

Yes. I did what you said and I still got the same results.

Here’s the updated place file that I modified it to your advice.
ViewportFrame MoveTo() Glitch- Trial 2.rbxl (38.9 KB)

This should work:
game.StarterGui.ViewportFrameGlitch.View.AstreastelaTest:TranslateBy(Vector3.new(0,8,0))

2 Likes

Thank you! The :TranslateBy() function works in viewport frames but not :MoveTo() method. It’s a good alternative function to use while :MoveTo() function in viewport frames is getting fixed.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.