I am using Motor6Ds to animate a car/kart. I spawn the car and connect the HumanoidRootPart to an invisible FloortPart. This FloorPart is then animated. The issue is the player does not move with the animation unless it is welded to the FloorPart. I have been using this workaround but I would also like to add drifting so I now use another Motor6D from the FloorPart to another indentical part in the Car. I am using the new Motor6D C0 to offset the car angle. This does not work when the weld is enabled.
Hierarchy:
>> = Motor6D
> = Weld
HumanoidRootPart >> FloorPart >> Bumper > Rest of car
local function CreateMotor6D(part0,part1,name,Parent)
local Motor6D = Instance.new("Motor6D")
Motor6D.Name = name
Motor6D.Part0 = part0
Motor6D.Part1 = part1
Motor6D.C0 = part0.CFrame:Inverse()*part1.CFrame
Motor6D.C1 = CFrame.new(0,0,0)
Motor6D.Parent = Parent
end
CreateMotor6D(Root,FloorPart,"CarJoint",FloorPart)
CreateMotor6D(FloorPart,Bumper,"TurnJoint",FloorPart)