I’ve been trying to make these Motor6Ds work for an hour now and I just can’t.
When anchored, the subbranches stay in their position correctly, but the second I try to use a motor6D, they go off into somewhere else (similar position, but different place).
This is my code which creates the Motor6Ds relative to an ORIGIN_PART/Position.
local motor6D = Instance.new("Motor6D", subbranch)
motor6D.C1 = --CFrame.new(Vector3.new(subbranch.Position - self.ORIGIN_PART.Position), subbranch.CFrame.Rotation - self.ORIGIN_PART.CFrame.Rotation)--subCF(subbranch.CFrame, self.ORIGIN_PART.CFrame)--subbranch.CFrame - self.ORIGIN_PART.Position
motor6D.Part0 = self.ORIGIN_PART
motor6D.Part1 = subbranch
subbranch.Anchored = false
I’ve tried all three of these things and I can’t get it to work. I know for a fact everything is in their correct position before this function.