User talk:ArceusInator/Ideas and Lost Thoughts
From Legacy Roblox Wiki
Jump to navigationJump to search
You almost made my day there. Shame.
>>> print(Instance.new("Color3Value"):isA("ValueContainer")) false
EDIT: Oh, right, they're requests. I see now.
"CFrame .rx .ry .rz .R00 .R01 .R02 etc. should be readable without going through a process"
What would .rx .ry and .rz represent? If it's rotation, then you seriously need to reconsider using euler angles
- That's what they would be used for.
local CF = BasePart.CFrame otherBasePart.CFrame = CFrame.Angles( CF.rx, CF.ry, CF.rz )
- --ArceusInator 21:22, 5 January 2011 (UTC)
- Couldn't you just do
local CF = BasePart.CFrame otherBasePart.CFrame = CF:toEulerAnglesXYZ()
- Camoy • Contribs (January 5 2011)
- Most people don't know about that method... This is a perfect window to bring up my argument that CFrame, Vector3, Vector2, UDim, UDim2, Ray, Instance (the library), Axes, Faces, BrickColor, and Color3 should all be considered classes--some of them have methods and all of them have properties so I think we should reformat those pages in the object documentation and add them to Object Hierarchy as without a parent or child. --ArceusInator 15:57, 6 January 2011 (UTC)
- There's a bigger problem than that: the angles make NO SENSE individually. If you haven't already, you need to look up what Euler Angles really are. Also, take a look at this image
- Most people don't know about that method... This is a perfect window to bring up my argument that CFrame, Vector3, Vector2, UDim, UDim2, Ray, Instance (the library), Axes, Faces, BrickColor, and Color3 should all be considered classes--some of them have methods and all of them have properties so I think we should reformat those pages in the object documentation and add them to Object Hierarchy as without a parent or child. --ArceusInator 15:57, 6 January 2011 (UTC)
- Camoy • Contribs (January 5 2011)
Umm... no. They're considered "types" not objects. We follow the object browser because we're the "Official ROBLOX Wiki". Unfortunately we cannot make up what things are. Camoy • Contribs (January 6 2011)
- Camoy, you confused the hell out of me by replying to me there. Next time, indent at the same level as me to reply to the post before.
- Also, you're right. By 'Object', the wiki describes anything present in the object browser (ie objects stored in the xml), and 'type' describes variables with userdata containing a consistent set of methods and properties. You might disagree with the terminolofy, but they are distinct. Also, contructor
- Okay...--ArceusInator 21:20, 6 January 2011 (UTC)