Hello, I want to make a part look at another part but not change the cframe.y value when rotating. I already know how to make a part look at another part but I want it so if the part is above it the part won't look up at it.
Any sort of help is appreciated, thanks.
yourpart.CFrame = CFrame.new(yourpart.Position, Vector3.new(lookingAt.CFrame.x,yourpart.CFrame.y, lookingAt.CFrame.z))