Motor6Ds not acting properly

So all the weapons in my game, Duel Stars, flipped upside down (180 on the Z axis) and wobble when you run. I went back to a file that’s one month before this happened and its the same scenario.

It’s not an animation priority issue, and I couldn’t find anything related to this on the dev forum.

So Part0 is the handle and Part1 is the RightHand, and it fixes the issue when I swap them, but then I’d have to adjust every weapon’s motor6d and we have hundreds. It’s just strange that this issue exists to begin with.

try using weld or weldconstraint

I can’t cuz motor6ds lets you adjust the position and orientation of the weapons

Your weapon is upside down and wobbles because of the Handle orientation.

Select the Handle inside the Tool then rotate it so the barrel points forward and the top faces up try Orientation 0 180 0.

Delete the old Grip Attachment and create a new one.

Re-equip the weapon and test. If it still flips add a LocalScript in the Tool to fix the Motor6D.

Should Fix It, Let me Know.

I fixed the flipped motor6d bug by flipping the C0 and C1 using this code:

for _, HandleMotor6D in game.ReplicatedStorage:GetDescendants() do
	if HandleMotor6D:IsA("Motor6D") and HandleMotor6D.Name == "HandleMotor6D" then
		local C0 = HandleMotor6D.C0
		local C1 = HandleMotor6D.C1
		
		HandleMotor6D.C0 = C1
		HandleMotor6D.C1 = C0
	end
end

And then I flipped the Part0 and Part1 around, so instead of Part0 = Handle and Part1 = RightHand, it’s now Part0 = RightHand and Part1 = Handle

I’m not sure what caused this to happen, I couldn’t find anything about this, but this bug is definitely not on my end.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.