Animation playing different on my character to the rig

Hey, I’m trying to play an animation I animated in a rig with a joint connected from the right arm to the greatsword, in the rig it works fine.
On my character it looks like this:

What it’s meant to look like:

-- Main
self.Mot.Parent = self.Parent.Character["Right Arm"]
self.Mot.Part0 = self.Parent.Character["Right Arm"]
self.Mot.Part1 = self.Model.PrimaryPart
self.Mot.C0 = self.Data.Unsheathed

Anims.Set(self.Parent, self.Parent.WeaponData.Data.Type) -- sets default animations
-- Anims
function Animation.Set(charOb, set)
	local animate = charOb.Character.Animate
	local anims = Animation.Sets[set]
	for i,v in pairs(anims) do -- idle, animName
		if animate[i] then
			for x,y in pairs(v) do -- Animation1, id
				animate[i][x].AnimationId = y
			end
		end
	end
end
  • Joints on the rig and in my character are in the same places with same part0 and part1
  • the C0 is definitely set correctly
  • Primary part is set

I have no idea why this is happening, does anyone have any ideas? (not sure if this is a script error or animation error)

2 Likes

if this is a tool then make sure you destroy the weld inside the right arm that is being created on equip, its called “RightGrip”

it’s not a tool, more of a “custom” weapon system with just models, no tools used at all. However, I am using just one motor6d for when I unsheathe/sheathe the weapon, should I be using 2 instead of just reparenting the same one and changing the part0 and part1?

Yes, it would be better to use 2 joints for equip/unequip animation (weld would be the best)

1 Like

well, right now it needs to be a joint since I can’t animate a weld

you can have a weld and 1 joint do it, but its your choice

well yeah it doesn’t really matter either way, but do u have any idea what’s causing the sword to float?

1 Like

it looks like the handle isnt positioned well… you can use THIS plugin to edit it and use THIS plugin to weld it, tell me if it still doesnt work

1 Like

it’s not a tool, as I mentioned earlier in the post, no tools are used at all, just a motor6D.

oh my bad, why don’t you try the welding one though? break al welds and remake them with the plugin, might fix it…

if I stop playing the animation, the sword is in the correct position on my hand, so the offset isn’t really the problem here.