Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 3 years ago

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

0
use orientation with c frame tightanfall 110 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

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!

0
Other than CFrame, You should use orientation sne_123456 439 — 3y
Ad

Answer this question