menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
Rotating Parts Around a Character
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Rotating Parts Around a Character
LordDracius
Join Date: 2011-10-22
Post Count: 2614
#140431109
Tuesday, July 15, 2014 6:48 PM GMT
How would I do this?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Sasayaki
Join Date: 2007-06-29
Post Count: 33868
#140432562
Tuesday, July 15, 2014 7:03 PM GMT
local center = character.Torso.Position local theta = 0 while wait(.1) do part.CFrame = CFrame.new(center.X+math.sin(theta)*radius, center.Y, center.Z+math.cos(theta)) theta = theta+math.pi/24 end
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
LordDracius
Join Date: 2011-10-22
Post Count: 2614
#140843192
Saturday, July 19, 2014 1:55 PM GMT
Did work
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
LordDracius
Join Date: 2011-10-22
Post Count: 2614
#140843577
Saturday, July 19, 2014 2:04 PM GMT
Didn't work.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Sasayaki
Join Date: 2007-06-29
Post Count: 33868
#140885049
Saturday, July 19, 2014 10:27 PM GMT
you better have defined all necessary variables
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right