".rotation" should refer to rotation degrees #8491
Closed
Starkandco
started this conversation in
Scripting
Replies: 2 comments 13 replies
-
It is rotation in radians, as the documentation says, please read the documentation if you are unsure about what something does, or just read the tooltip |
Beta Was this translation helpful? Give feedback.
7 replies
-
I understand the implication of not changing something so central to the core (at least outside of a major release). Would it be possible instead to update the label shown in the inspector to "Rotation degrees" as I feel this would direct the user to use this property when they are first sitting down approaching a script to modify rotation |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have seen a few people and myself bash our heads off trying to update rotation in code. I'm assuming from someone else's observation that .rotation refers to the transform of rotation by a number of pixels. If that was the case I would be suggesting that a rotation_pixels property is created to allow the rotation property to be used to reference the rotation degrees property, which is much more intuitive than pixels/what the actual rotation property is if I have that wrong?
Beta Was this translation helpful? Give feedback.
All reactions