WeldConstraint not changing other parts Orientation

So I’m playing around with WeldConstraints, and I came across a problem, which is that they don’t rotate the part in Part1 for me.

WeldConstraint:

Parts (same properties): image

What am I doing wrong? I’m almost certain it’s something simple, yet I can’t seem to be able to figure it out. Any help is appreciated! (Note: I’m putting this inside Scripting Support instead of others because I originally tried scripting this, but that didn’t work. Here’s the code if that’s the problem): image

You will need to use CFrame instead. Position & Orientation don’t effect the other parts. For oreientation you can use CFrame.Angles(rx,ry,rz).

Modified code:

newTrack.DetectorFront.CFrame = newTrack.DetectorFront.CFrame * CFrame.Angles(0,math.rad(90),0)
1 Like