How do you make a rotating brick? I haven't really understood it yet. Can someone help me please?
Thanks!
Curly.
How do you make a rotating brick? I haven't really understood it yet. Can someone help me please?
Thanks!
Curly.
You can place in the brick a BodyAngularVelocity and change its maxTorque to something like 4000, 39999999735263250042846025505031847936, 4000 and change it's angular velocity to 0,2,0 and it's P too 1250, or you can just add a script to the brick and place the codes down below.
brick = script.Parent
while true do -- Loops script
wait(0.001)
brick.CFrame = brick.CFrame * CFrame.fromEulerAnglesXYZ(0.01,0,0) -- Change 0.01 to whatever speed you want it to go
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
You forgot to put a conditional with 'until'
Oh well
I want to make mine spin in random directions... a cube you walk on and its turns around in everyd irection and you can't fall down