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

Smooth Turning of Bricks?

Hello,

I have a really simple question that has been bothering me for quite a while, and I'm at a point where I need to know it.

How would I rotate a given brick smoothly from a script?

In my context, I need to rotate a given player towards another given player.

Thanks for reading; all replies are appreciated!

1 answer

Part.CFrame	 =	CFrame.new(0, 0, 0)	* CFrame.Angles(0, math.pi/2, 0) -- This will turn it 90 Degrees

But i'm guessing you can figure out and adjust your rotation of your brick, also here's a source you can use. CFrame

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