#Animating a katana (sheath and blade) image included

1 messages · Page 1 of 1 (latest)

shut lichen
#

so far I've tried to animate the player with a weapon with no success it works in the animation editor completely fine but i struggle trying to put it in game (the sword on my avatar is one of my accessories)

maiden pineBOT
#

studio** You are now Level 1! **studio

quiet wind
#

add a motor6D and copy over C0 and C1 values to it

#

make sure Part1 is the Handle and Part0 is the RightArm

#

you can then freely animate it with animation editor

shut lichen
#

its putting it in game

quiet wind
#

wow i'm terrible at reading, i just see what i want huh

#

well have you scripted it yet?

shut lichen
#

tried...

#

uh followed a forum post

#
#

@quiet wind

quiet wind
#

hmm

#

maybe this video might help

shut lichen
#

ill watch it later

#

playing a game rn with a friend

shut lichen
#

oh this might not work since im using more than one motor6d (blade and sheath)

#

@quiet wind

shut lichen
#

also i kidna hate those follow along videos😭so rare to find a video that teaches you how it works and how to do it

quiet wind
#

besides that just edit the script a bit

#
local function childAdded(character, object)
    if object:IsA("Tool") then
        local handle = object:FindFirstChild("Handle")
        if handle then
            local rightArm
            rightArm = character:FindFirstChild("Right Arm")
            if rightArm then
                for index, value in handle:GetChildren() do
                    if value:IsA("Motor6D") then
                        value.Part0 = rightArm
                    end
                end
            end
        end
    end
end
#

keep all the motor6Ds under handle

#

and play your animations through local script as per usual

#

.equipped, .activated, and whatnot

shut lichen
maiden pineBOT
#

studio** You are now Level 2! **studio