My goal is to move partA to partB, and I’m trying to do it using AlignPosition. I have this script
local partA = game.Workspace.PartA
local attachmentA = Instance.new("Attachment", partA)
attachmentA.Position = Vector3.new(0, 0, -1)
local partB = game.Workspace.PartB
local attachmentB = Instance.new("Attachment", partB)
attachmentB.Position = Vector3.new(0, 0 , 1)
local alignPosition = Instance.new("AlignPosition", partA)
alignPosition.Attachment0 = attachmentA
alignPosition.Attachment1 = attachmentB
alignPosition.RigidityEnabled = false
alignPosition.MaxForce = 15
alignPosition.MaxVelocity = 15
alignPosition.Responsiveness = 15
When RigidityEnabled = true, partA moves to partB, no complications. However, I want to be able to adjust the speed so I made it false, but now partA just sits there, not moving at all. The output isn’t producing an error. I checked the properties once when testing it and all the numbers are there, as they should be, it’s just not moving. I was thinking that maybe I had to add something to the part or use AlignOrientation, but I don’t know. Any ideas?