How do I make a part face an object, without being held in place? I tried this with a regular CFrame:

script.Parent.CFrame = CFrame.new(part1.Position, Part2.Position)

it works, but when I try to move part1, it will snap back to its original position.

4 comments

0

Use CFrame.lookAt.

0

isnt that depracted?

0

Exactly the opposite, lookAt should be used in favor of new, however it does not have any difference.

0

How are you moving part1?