GetPivot / PivotTo don't always reflect the value of WorldPivotData, actual value of which is reflected through WorldPivot (as mentioned in the #179 )
This can be observed by running the following tests in Studio
local Model = Instance.new("Model")
local Part = Instance.new("Part")
Part.Parent = Model
Model.PrimaryPart = Part -- If PrimaryPart doesn't exist then WorldPivot == GetPivot (Pretty sure)
Model.Name = "WPDTest"
Model.Parent = workspace
Model.WorldPivot *= CFrame.new(2.1, 2.3, 2.5) -- Try swapping this with PivotTo
local WorldPivot, GetPivot = Model.WorldPivot, Model:GetPivot()
print(WorldPivot)
warn(GetPivot)
print(WorldPivot == GetPivot)
-- Save the file & see it's contents
GetPivot
/PivotTo
don't always reflect the value ofWorldPivotData
, actual value of which is reflected throughWorldPivot
(as mentioned in the #179 ) This can be observed by running the following tests in Studio