Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Are these the Desired CFrame:components() Rotation Values?

Asked by 7 years ago
Edited 7 years ago

These are my outputs from saving and loading CFrames to a DataStore. I first converted the CFrame to CFrame:components(). The rotation values, as you can see, do not look correct though... And the models are not rotating. Suggestions?

LOG:
----------------------------------------------------------
Creating New Model...
Action---ListPos--Value
Saved: 1   -           -337.93368530273
Saved: 2   -          21.104787826538
Saved: 3   -          440.77005004883
Saved: 4   -          1
Saved: 5   -          0
Saved: 6   -          0
Saved: 7   -          0
Saved: 8   -          1
Saved: 9   -          0
Saved: 10   -        0
Saved: 11   -        0
Saved: 12   -        1
Colony Data Saved Sucessfully!


GENERATING Colony Item...
Loadd: 1   -           -337.93368530273
Loadd: 2   -          21.104787826538
Loadd: 3   -          440.77005004883
Loadd: 4   -          1
Loadd: 5   -          0
Loadd: 6   -          0
Loadd: 7   -          0
Loadd: 8   -          1
Loadd: 9   -          0
Loadd: 10   -        0
Loadd: 11   -        0
Loadd: 12   -        1
----------------------------------------------------------
0
Those rotation values form an identity matrix, which means, effectively, there is no rotation - these objects are axis aligned. duckwit 1404 — 7y
0
If you think your objects should have rotation, you'll have to show us the code which you use to get and save the values. duckwit 1404 — 7y

Answer this question