menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
:GetModelRotation
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
:GetModelRotation
MrJoeyJoeJoey
Join Date: 2011-08-20
Post Count: 20787
#141213753
Tuesday, July 22, 2014 11:38 PM GMT
Possible?
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
MrJoeyJoeJoey
Join Date: 2011-08-20
Post Count: 20787
#141213814
Tuesday, July 22, 2014 11:39 PM GMT
if so how
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
CaptainSource
Join Date: 2013-06-08
Post Count: 848
#141213943
Tuesday, July 22, 2014 11:40 PM GMT
Try CFrame.Angles ?
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
cntkillme
Join Date: 2008-04-07
Post Count: 49450
#141213950
Tuesday, July 22, 2014 11:40 PM GMT
If you have no PrimaryPart: local modelCFrame = model:GetModelCFrame(); local rotation = modelCFrame - modelCFrame.p; If you do (recommended): local modelCFrame = model:GetPrimaryPartCFrame(); local rotation = modelCFrame - modelCFrame.p;
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