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

How do I make a part face another part or position?

I have no idea how to do this, what's the best method of doing so?

1 answer

✓ Accepted answer

When called with two Vector3 arguments, the CFrame.new constructor returns a CFrame positioned at the first argument and facing the second argument. This would cause part to retain its position, but face another part otherPart:

part.CFrame = CFrame.new(part.Position, otherPart.Position)

2 comments

0

Thanks a lot! :-)

0

Please search for duplicate questions next time, crabbyninja.

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