To transform a CFrame in object space multiply it by another CFrame.
char:SetPrimaryPartCFrame(RootPart.CFrame * CFrame.new(-8, 0, 0))
This should put ‘char’ 8 studs to the left of ‘RootPart’ regardless of it’s rotation.
To transform a CFrame in object space multiply it by another CFrame.
char:SetPrimaryPartCFrame(RootPart.CFrame * CFrame.new(-8, 0, 0))
This should put ‘char’ 8 studs to the left of ‘RootPart’ regardless of it’s rotation.