AlignOrientation/AlignPosition Not Working As Planned

Hello Developers I am Using A AlignOrientation and AlignPosition To Move A Train

and I made A Script

local AlignPos:AlignPosition = primary.AlignPosition
local AlignRot:AlignOrientation = primary.AlignOrientation
AlignPos.Attachment1 = TrainAttachments:WaitForChild("End").Attachment
AlignRot.Attachment1 = TrainAttachments:WaitForChild("End").Attachment

but when i play the game the train is wobbling

Here Are The Properties


1 Like