I have a building system that has blocks but sometimes the blocks might have stuff like trusses, so I use WeldConstraint to weld them to the the block. I tried making a model to do it, but it’s such a weird system since CFrame works, but when people hover their mouse over a block instead of terrain, it needs to place the block based on the block they’ve selected. So, that means I have to get a position. How would I set the position yet keep all the descendants stuck to my block?
You should 100% use models. Moving an entire model is very easy. Weld all parts to each other, and then call Model:PivotTo(CFrame)
. This would be the exact same way you moved the part, except you move your entire model. (Converting Vector3 to CFrame is as simple as CFrame.new(Vector3)
)
I didn’t quite understand the issue you were having with Model, could you please elaborate?
Never mind! I fixed it by setting the CFrame using CFrame.new() and putting, “pos.X,pos.Y,pos.Z,1, 0, 0, 0, 1, 0, 0, 0, 1” after setting the position brings all the descendants with it!