#Why does this print 0?

11 messages · Page 1 of 1 (latest)

harsh sapphire
#

that's because orientation is not the same as cframe

#

orientation is a vector

#

Angles is part of a coordinate frame, which is a matrix

#

2 different things

#

if you wish to print the angles then something you can do is print CFrame.Rotation

deft agate
lofty spear
#

same as CFrame.Y and CFrame.Z

#

if you want to get the rotation in Orientation format, use CFrame:ToOrientation()

#
print(Item["6D"]["Orientation"]:ToOrientation())
#

or if you want it in AnglesXYZ format (the values you put in CFrame.Angles) use CFrame:ToEulerAnglesXYZ()