menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
CFrame Rotation?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
CFrame Rotation?
RomDino
Join Date: 2015-07-04
Post Count: 2795
#215842259
Wednesday, May 03, 2017 9:52 AM GMT
How do you do it? I tried this but it doesn't work! part.Rotation = CFrame.new(0,90,0)
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
Naco88
Join Date: 2009-10-30
Post Count: 665
#215842394
Wednesday, May 03, 2017 10:00 AM GMT
Maybe try CFrame:toAxisAngle() or CFrame.Angles(number rX, number rY, number rZ) #############################################
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
Naco88
Join Date: 2009-10-30
Post Count: 665
#215842404
Wednesday, May 03, 2017 10:00 AM GMT
I posted a link to CFrame on the wiki but it was hashtagged so just search for it on Google.
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
Disillusions
Join Date: 2011-07-10
Post Count: 6365
#215842438
Wednesday, May 03, 2017 10:02 AM GMT
part.CFrame = part.CFrame * CFrame.Angles(0,math.rad(90),0)
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
RomDino
Join Date: 2015-07-04
Post Count: 2795
#215842559
Wednesday, May 03, 2017 10:08 AM GMT
script.Parent.Rotation = script.Parent.Rotation * CFrame.Angles(0,math.rad(-90),0) Like that?
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
Disillusions
Join Date: 2011-07-10
Post Count: 6365
#215842581
Wednesday, May 03, 2017 10:09 AM GMT
Did you not read the line I posted? part.CFrame
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
RomDino
Join Date: 2015-07-04
Post Count: 2795
#215842619
Wednesday, May 03, 2017 10:11 AM GMT
Thanks I thought the first part.Cframe was supposed to be part.Rotation
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
Isosta
Join Date: 2015-05-10
Post Count: 14729
#215843751
Wednesday, May 03, 2017 10:54 AM GMT
you're inept.
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