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

how can i make a field propeller rotate if im making one for my game?

i wanna do it with c frame and have it automatically start

1 comment

0

use orientation with c frame

1 answer

Hi, You can use Cframe.Angles.. However, I very much recommend not using this as this will also set the position of your part to 0,0,0 as this is the default value of CFrame.Angles. But If you really do, here's an example:

local propeller = game.Workspace.Propeller
local t = 1

while true do
local target_angle = CFrame.Angles(0,math.rad(t),0)
propeller.CFrame = target_angle
t = t+1
end

Hope this helped!

Any questions? Just ask!

1 comment

0

Other than CFrame, You should use orientation

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