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

How do I use the animation converter plugin? (Using animation data in a script.)

Asked by 4 years ago
Edited 4 years ago

https://www.roblox.com/library/442028078/Animation-Converter

For example, it gives me this output when I converted an animation:

return {
    Properties = {
        Looping = false,
        Priority = Enum.AnimationPriority.Core
    },
    Keyframes = {
        [0] = {
            ["HumanoidRootPart"] = {
                ["Torso"] = {
                },
            },
        },
        [0.2] = {
            ["HumanoidRootPart"] = {
                ["Torso"] = {
                    CFrame = CFrame.new(5, 0, 0) * CFrame.Angles(0, 0, math.rad(-15.011)),
                },
            },
        },
        [0.4] = {
            ["HumanoidRootPart"] = {
                ["Torso"] = {
                },
            },
        },
    }
 }

How do I use this in a script?

0
Fixed Formatting Its_707 1 — 4y
0
@Its_707 i left an answer on your another question maumaumaumaumaumua 628 — 4y

1 answer

Log in to vote
0
Answered by 3 years ago

I don't know if you've received an answer yet on another forum but I'll share mine anyway. These are how you can use this: In Keyframes the number is basically when the motion occurs and the CFrame is how the .Transform of the specific Motor6D in the character's body is modified.

Ad

Answer this question