Hello, this is my First Bug Report. I collided with Problem, that the Anchored (BaseParts) in My Model are starting Offset when I Moving & Rotating it, after some time.
My model is also fullestly Static (Anchored) & not intended for Physical Interactions.
I using Model:SetPrimaryPartCFrame(CFrameFromMatrix) Method, to Rotate & Move Model.
I also tried (for some reason) to bind all BasePart to Model’s PrimaryPart, using WeldConstraints, but it didn’t solved my Problem.
Here are the Shots of my problem:
In Conclusion, I’ll add, that the (Static) Tail of my model was very much displaced, when I back in game After 10 Minutes.
local offset = primaryPart.CFrame:ToObjectSpace(boundPart)
primaryPart.CFrame = primaryPart.CFrame * CFrame.new(1, 2, 3)
boundPart.CFrame = primaryPart.CFrame:ToWorldSpace(offset)
-- You can also use CFrame inverse, which is what ToObjectSpace is internally
primaryPart.CFrame = primaryPart.CFrame * CFrame.new(1, 2, 3)
boundPart.CFrame = primaryPart.CFrame:Inverse() * boundPart.CFrame
SetPrimaryPartCFrame() - Is DEPRECATED Method & not Recommended for Use, due to Wrong Calculating of Offset.