Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How would I make a part always face another part using CFrame?

I'm making a turret, but I can't figure out how to do this and I can't use BodyGyro, can anyone help?

I'M NOT ASKING FOR A FULL SCRIPT, I JUST WANT THE CFRAME

1 answer

✓ Accepted answer

This is really self explanatory, but the syntax is...

CFrame = CFrame.new(Position, Position)

so if I wanted Part1 to look at Part2 then I would do...

Part1.CFrame = CFrame.new(Part1.CFrame.p, Part2.CFrame.p)

This discussion is preserved as it was. New answers, comments, and votes are closed.