Hi, I'm trying to get the CFrame.Angles of a part w/o having the CFrame.p, is there a way to do this? I'd imagine it's something like this, but I'm not sure:
part = script.Parent
angles = part.CFrame.Angles
Hi, I'm trying to get the CFrame.Angles of a part w/o having the CFrame.p, is there a way to do this? I'd imagine it's something like this, but I'm not sure:
part = script.Parent
angles = part.CFrame.Angles
CFrame.Angles isn't a property, it's constructor, similar to CFrame.new(), Vector3.new(), etc.
If you want the rotation of a brick, use
local angles = part.CFrame.lookVector
lookVector, a property of CFrame, returns a Vector3 rotation of the part.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Oh, ok. Thank you!