of     1   

dogwarrior24
#123111342Tuesday, January 14, 2014 8:59 AM GMT

u prob already kno dis Ish way to get rotation of brik. function GetPartRotation(P) local tab = {} x,y,z,tab.r1,tab.r2,tab.r3,tab.r4,tab.r5,tab.r6,tab.r7,tab.r8,rab.r9 = P.CFrame:components() return tab end Rot = GetPartRotation(PartLocation) print(Rot.r1,Rot.r5,Rot.r9)
dogwarrior24
#123111357Tuesday, January 14, 2014 9:01 AM GMT

Couple of typos, fixed. function GetPartRotation(P) local tab = {} x,y,z,tab.r1,tab.r2,tab.r3,tab.r4,tab.r5,tab.r6,tab.r7,tab.r8,tab.r9 = P.CFrame:components() return tab end Rot = GetPartRotation(PartLocation) print(Rot.r1,Rot.r5,Rot.r9)
dogwarrior24
#123111409Tuesday, January 14, 2014 9:06 AM GMT

wtf, im getting alot of views but no replies.
appropriations
#123111610Tuesday, January 14, 2014 9:27 AM GMT

I'm pretty sure that all of us know this. Keyboard not found. Press F1 to continue.
dogwarrior24
#123112556Tuesday, January 14, 2014 10:44 AM GMT

You would be surprised by the amount of advanced scripters that dont.
Oysi
#123113029Tuesday, January 14, 2014 11:16 AM GMT

"print(Rot.r1,Rot.r5,Rot.r9)" ... No, I wasn't really surprised that you didn't know how this works.
dogwarrior24
#123115084Tuesday, January 14, 2014 12:51 PM GMT

I did know, i just posted it because iv'e seen quite a lot of people that don't.
dogwarrior24
#123115234Tuesday, January 14, 2014 12:57 PM GMT

And i don't see what your pointing out there, there's nothing wrong with that line.
dogwarrior24
#123115329Tuesday, January 14, 2014 1:01 PM GMT

[X|0|0] [0|Y|0] [0|0|Z]
MettaurSp
#123141893Tuesday, January 14, 2014 10:48 PM GMT

If you got that from here (link below) and saw (script below), then that isn't how it works. http://wiki.roblox.com/index.php/Euler_angles =CFrame.Angles(x, 0, 0) *CFrame.Angles(0, y, 0) *CFrame.Angles(0, 0, z) That is just explaining how the fromEulerAnglesXYZ and Angles functions prioritize the angle rotation. You need to use trig to retrieve the angles from the components.
dogwarrior24
#123153377Wednesday, January 15, 2014 12:43 AM GMT

I know.
bohdan77
#123155703Wednesday, January 15, 2014 1:10 AM GMT

If you know, then why are you doing it incorrectly?
bohdan77
#123155752Wednesday, January 15, 2014 1:10 AM GMT

Actually, scratch that.
dogwarrior24
#123159794Wednesday, January 15, 2014 1:56 AM GMT

and the print(Rot.r1,Rot.R5,Rot.R9) is just an example of printing 3 numbers of the rotation.
FierceNoob
#123172241Wednesday, January 15, 2014 4:22 AM GMT

/フフ       ム`ヽ / ノ)   ∧ ∧  ) ヽ / |  (´・ω・`⌒(ゝ._,ノ / ノ⌒7⌒ヽーく  \ / 丶_ ノ    ノ、  |/    `ヽ `ー-‘_人`ーノ     丶  ̄ _人’彡ノ    /`ヽ _/\__ Post this on 10 others forums if you want to look like this epic

    of     1