#Animating a katana (sheath and blade) image included
1 messages · Page 1 of 1 (latest)
** You are now Level 1! **
when you put the tool inside a rig, under right arm for R6 there is a weld.
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
thats the easy part that ive been able to do
its putting it in game
wow i'm terrible at reading, i just see what i want huh
well have you scripted it yet?
tried...
uh followed a forum post
2022/12/13 Update: Can’t believe this thread is 3 years old, I have updated the majority content of this tutorial (including the code) and improved readability. Hello everyone! I am Headstackk. I have developed a Weapon Framework used in my game Weaponry. In this post, I will explain how to get started with animating tools, especially weapon...
@quiet wind
hmm
In this video I show you how to animate tool handles in Roblox Studio using Motor6Ds, it's simpler than you might think!
maybe this video might help
oh this might not work since im using more than one motor6d (blade and sheath)
@quiet wind
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
are you new to scripting perhaps?
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
YES
** You are now Level 2! **