|
| 27 Sep 2015 09:42 PM |
| I have a script that prints the CFrame value of a part on a button click. The output is (as expected) a set of twelve numbers which have no direct correspondance to any simple values such as Position etc. Is there anyway I can seperately print the position and the angles without printing the full blown CFrame value? If not, is there anyway I can translate the 12 numbers to a more easy version to read? Thanks! |
|
|
| Report Abuse |
|
|
| |
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 27 Sep 2015 11:10 PM |
part = game.Workspace.Part pos = part.CFrame.p -- position rx,ry,rz = part.CFrame:toEulerAnglesXYZ() -- angle |
|
|
| Report Abuse |
|
|
| |
|