How can I animate a tool?

Hey! I made an animation of a panda bear, and then somewhere in that animation, the panda jumps and is animated, but, how do I implement that with a tool that the panda is welded with its different parts, and when the tool is “.Activated”, then make the animation with the panda jumping?

How it looks in the AnimationEditor:

When I animate with a script:

You could disable the weld constraint temporarily until the animation is over. Right?

1 Like

I doubt it, since if that happens, the tool object would basically break.

Well since it’s a handle I don’t think it should break. Please test. Though you may be right.

1 Like

Yeah, it breaks.

Sorry for asking many question, but is the handle the panda bear or no? When I animate something like a sword. I have no errors like that. Even though there is no weld constraint.

1 Like

Inside the handle, there are mesh parts which I made a script to weld them to the handle.

1 Like

Ok for my final effort I suggest use watch this video:
https://www.youtube.com/watch?v=kvveqECbjlM
In conclusion, you can make two animations. One to make the part move and one to make the character move. Who knew you could animate parts? :face_with_raised_eyebrow:

1 Like

I would try and make the part where it throws the panda bear until it enters the player’s hand a separate animation alltogether, and have the weld break from the player whilst it’s being thrown.

Or another thing you could try is to move the bear from the handle as the bear is thrown upwards (This may not work as I personally have not tried it, but it is worth a try)

Do you intend for players to be able to move during this animation?? If you don’t intend on that, velocities could become a potential option.

Do you intend for players to be able to move during this animation?? If you don’t intend on that, velocities could become a potential option.

Yes.

Ok, then in that case I don’t believe that would be an option. Maybe try and make the throwing part a separate animation that plays between the contact of the bear and the hands and try breaking that weld during that animation? This may break the animation, but it’s worth a try.

1 Like

I didn’t even see this, I think this is summing up what I’m trying to say

2 Likes

Maybe you have to make a motor6d from the panda to somewhere in the body (maybe the torso).

script.Parent.Equipped:Connect(function()
local motor6d = Instance.new("Motor6D")
motor6d.Parent = script.Parent.Parent.LowerTorso
motor6d.Part0 = script.Parent.Parent.LowerTorso
motor6d.Part1 = script.Parent. -- panda thing
motor6d.Name = "Panda"
end)