How can I use BasePart.Orientation with parts welded to others?

Hello devforum,
I am working on a boat system that rotates the boat using BasePart.Orientation, and there is a problem, for some reason setting this property disables welds:


Is there any way I can use Orientation and still get the weld behavior CFrame.Angles() has? Since I can’t use CFrame.Angles() because I need to rotate the part relative to the world.

Thanks for reading.

Why don’t you try converting the orientation to angles?
Like this :

local P = script.Parent -- This is the part

local Or = Vector3.new(0,0,-90) -- Orientation 

local Angle = CFrame.Angles(math.rad(Or.X),math.rad(Or.Y),math.rad(Or.Z)) -- Converted to angles

P.CFrame = CFrame.new(P.Position) * Angle

1 Like

The problem is that I can’t multiply the angles because it will rotate relative to the part, and I want it to rotate relative to the world.

I think this method might help you

Have a box that covers the whole model, Then weld that box with Motor6D to all other parts, Then change the Orientation of the box

In the pic I sent it says it also disabled motor6ds