Motor6D Part rotating on wrong axis

I was experimenting with Motor6D and I have ran into a issue where the Motor rotates on the wrong axis completely.

The behavior I want is for it to rotate on the Y axis.

Though, the gif below shows what is happening now

RobloxStudioBeta_MlXbh19tdM

I’m pretty sure the answer is somewhere in modifying the Motor’s C0/C1 but even then I’m unsure how I’d go about that.

1 Like

Yeah, you’d have to modify the c0/c1. It’d be easier just to use a rig editor plugin instead, though. It does the same thing but is just easier to use.

Use attachments to help edit the C0 and C1 easier

Then use a script to set the C0 to theur CFrame.

local weld = Instance.new("Weld")

weld.C0 = attachment0.CFrame

weld.Part0 = attachment0.Parent

weld.C1 = attachment1.CFrame

weld.Part1 = attachment1.Parent

weld.Parent = attachment1.Parent --any parent under workspace to make the weld active