Ok. Lets say I have 2 plots that are on different positions.

I go and build stuff like walls and tables on plot1, save it and exit. I enter in the game, but I get plot2 instead of plot1 and my objects load at the EXACT same position I left them be(on plot1's position).

So my question is: How can I make these objects load in my current plot's CFrame/Position? Similarly to games like RoCitizens and Bloxburg. They load the house at the plot's CFrame instead of the CFrame you build them in last time.

I have tried making the objects go minus the position of the plot, plot's size and stuff, but never worked the way I wanted them to.

I do not really have much of a script to provide, but here:

					SavedModel:SetPrimaryPartCFrame(CFrame.new(v.ObjectCFrame.X, v.ObjectCFrame.Y, v.ObjectCFrame.Z) * CFrame.Angles(0, math.rad(v.ObjectCFrame.Rotation), 0))
					SavedModel.Parent = ObjectsFolder

Thanks in advance. Hopefully you understand what am I trying to do.

1 comment

0

All I really need is the math behind it. I can't find the answer even if it exists somewhere, nor I can think of it myself.