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

Help With Animation Editor And Its Movements?

Asked by
xTalzo 10
9 years ago

For example, im trying to do a dash move ment but it seem that when I ever I do it the player jumps in the air, doing the animation, but it comes back to the core, like the animation hasn't been done. Can someone please explain how to do a animation but the player dont back to its core?

0
I've had similar difficulties. They're purely animations, and can't actually "move" a player through the air. Everything is done from the HumanoidRootPart. Perci1 4988 — 9y
0
Is there a way to take the root out or a different type of aniamtion? xTalzo 10 — 9y

1 answer

Log in to vote
0
Answered by
neoG457 315 Moderation Voter
9 years ago
local y = Instance.new("BodyVelocity")

        local Dash = Instance.new("Animation")
        Dash.AnimationId = "http://www.roblox.com/Asset?ID=240879117"
    local animTrack = po.Character.Humanoid:LoadAnimation(Dash)
            animTrack:Play()

            y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
    y.velocity = Player.Character.Torso.CFrame.lookVector*90
    y.Parent = Player.Character.Torso

    wait(1)


    y:Destroy()     

I've had the same problem and I know how frustrating this is. You cannot remove the root or your animation can't play. I suggest remaking your animation but just make the Dash Pose and add BodyVelocity to the Players torso. This will make it look as if he were dashing however he's just moving forward for a short period of time whilst in a dash pose. Comment if you need more help.

Ad

Answer this question