The Roblox Developer API reference web page for CFrame has a matrix as shown below and then descriptions of CFrame.RightVector and CFrame.XVector as shown below. The descriptions of RightVector and XVector seem to indicate that they are the same thing because they both show “Vector3.new(r00,r10,r20),” but the descriptions show “Equivalent to the first/left column of the rotation matrix” for RightVector and “Equivalent to the first/top row of the rotation matrix” for XVector indicating that they are different. Are they the same or different? Is there an error on the web page or is it accurate? Am I misinterpreting the information?
CFrame.RightVector: The right-direction component of the CFrame’s orientation. Equivalent to the first/left column of the rotation matrix, or Vector3.new(r00, r10, r20)
CFrame.XVector: Equivalent to the first/top row of the rotation matrix, or Vector3.new(r00, r10, r20)
Right Up Back
|XVector| R00 | R10 | R20 |
|YVector| R01 | R11 | R21 |
|ZVector| R02 | R12 | R22 |