I want to know how to use CFrame.Angles() to rotate a part towards another part.
welding.C1 = CFrame.Angles(otherWelding.C1.p, facePlayer)
The script kepts getting errors
I want to know how to use CFrame.Angles() to rotate a part towards another part.
welding.C1 = CFrame.Angles(otherWelding.C1.p, facePlayer)
The script kepts getting errors
Angles have three values
CFrame.Angles(0, 0, 0)
try it with a 0 on the end
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
What are the errors
If you want to make a part face another part, you use the second argument in CFrame.new().
I want the C1 to rotate towards the NPC Torso
http://xyproblem.info