Trying to make a propeller spin moves the entire body


As this video shows im trying to make a propeller speed for a UAV and, im no genius but im a tad bit sure thats not how drones work in real life so some help would be nice
Code to make body move:

while task.wait(1) do
	script.Parent.CFrame = script.Parent.CFrame + script.Parent.CFrame.LookVector
end

Code for propeller rotation:

while task.wait(2) do
	script.Parent.CFrame = script.Parent.CFrame * CFrame.Angles(0,0,math.rad(-18))
end

image

MainBody is anchored and everything else isnt.

Just use a HingeConstraint with an Actuator.

Here is a quick video on how:

Is this a good way to do it or does it break often?

Roblox’s existing C++ engine is handling everything, and constraints are very stable if they don’t conflict. In this case, it’s just a spinning object, so no issue!

1 Like

It should not break at all since you are using built-in functions.

It also will be smoother.

Dont really care about fast, that stuff moves at like 25,000 rpm