Title. I understand CFrame.new(part.Position, mouse.Hit.Position) does only half of what I’m looking for. I don’t want the part to look up or down. Much thanks.
Just pass in the part’s Y position as the Y position of where it should face. Lke this:
local hitPos = mouse.Hit.Position
CFrame.new(part.Position, Vector3.new(hitPos.X, part.Position.Y, hitPos.Z)
2 Likes