I thought I knew what I was doing when creating a new part, but apparently not… The following script is supposed to make a new part and change the CFrame to the green part’s CFrame (source).
Here’s the script:
local part = workspace.Source
local ray = Instance.new("Part")
ray.Anchored = true
ray.Parent = workspace
ray.Size = part.Size
ray.CFrame = part.CFrame
Instead of moving the part directly in the position of source, it moves it right next to it with an offset.
I would not expect this to be intended CFrame behavior… Does anyone know the cause of this?