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

How do i, through a script, rotate a part to face a other part?

Simply want to know the basic concept of how to through a script find the correct rotation so its top or front would face a other part.

Thanks :D

5 comments

0

Do you know how to use CFrames yet?

0

I know how to cframe locations and stuff but not rotation

0

CFrame.new(Vector3 pos, Vector3 lookat); Example: CFrame.new(Part.Position, OtherPart.Position)

0

Thanks

2 answers

Use a body gyro to make it face the other part, and use the cframe answer that Vingam_Securis typed

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