Trying to set Orientation of a Part. However, setting Orientation auto-corrects position of part

Question.

What would be the equivalent of writing this

part.Orientation = Vector3.new(0,90,0)

without having the auto-correcting behavior that it and Position have when you set them?

By “autocorrecting” I mean the weird built-in behavior that moves blocks that overlap with other blocks. (If you happen to know if there is an official name for this behavior, that would be great as well! Thanks!)

1 Like

I believe we call that “Safe move”.

You should adjust the CFrame instead.
part.CFrame = CFrame.new(part.Position) * CFrame.Angles(0, math.rad(90), 0)

12 Likes