Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a tweened animation work in any location?

Asked by 2 years ago

I would like to make my animations workable in any location but anytime I run it, it teleports back to where I animated it. This is a problem as the animation is for a seat in a moving plane.

Any help would be appreciated, thanks.

return {
    ["Root.Union2"] = {
        CFrame = {
            InitialValue = CFrame.new(149.15477, 3.74239492, -88.6030884, 0, -1.00000024, 9.20891762e-06, 0, -9.20891762e-06, -1, 1, 0, 0),
            Keyframes = {
                {
                    Value = CFrame.new(149.173355, 3.7603662, -88.6030884, 0, -0.951054394, 0.309025824, 0, -0.309025884, -0.951053679, 1, 0, 0),
                    EasingStyle = Enum.EasingStyle.Linear,
                    Time = 0.1,
                    EasingDirection = Enum.EasingDirection.Out,
                },
                {


^^Here is part of one of my animations (not all of it because character limit and its basically the same thing over), as you can see due to the coordinated being in a set location the animation only works there.

Answer this question