Best way to make unanchored/welded objects move?

I have a large box welded to an “anchor” for a sort of crane system, however the box has a door, and because of the way tweens are, the entire box is welded together, then welded to the anchor part, with the only anchored part being the anchor part.

This causes a few problems however, first, I can’t use CFrame to open the boxes door because the entire box is not anchored and is welded together, and second my box moves as the anchor moves, and the anchor moves often. I’m not entirely sure how to create the door to the object open while still retaining a welded box, without making either

  1. the door being left behind as the box moves because it’s anchored
  2. the welds breaking because I forcefully tweened a part
1 Like

I believe , if I fully understand your question this might help, one of my previous posts
https://devforum.roblox.com/t/whats-the-most-efficient-way-to-rotate-multiple-objects-at-the-same-time-without-lag-or-jittery-effects/394851/31

I appreciate your answer, however I can’t exactly use bodygyro as my parts are welded to eachother, and tweenservice won’t work as the parts are unanchored

You could use CFrame then

 
  local part = workspace.part 

         while true do
         for i = 0,360,10 do -- the last digit will affect speed
    
         part.CFrame = CFrame.new(part.Position)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(part),math.rad(0))
         wait(0.01)
     end
  end
1 Like