Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
This question was closed Aug 21, 2017 at 02:47 PM by hexagonius for the following reason:

Too subjective and argumentative

avatar image
0
Question by kalkass · Aug 21, 2017 at 02:36 PM · unity 5exceltetriswow

Wow Unity Devs. Just wow

Wow number 1: I use RectTransform.Translate(10.0f, 0.0f, 0.0f) to move my object. But instead of 10 points, it moves 21.something points. All my objects in hierarchy have Scale 1.0f. I busted my head for about 30 minutes and realized that it was because of Canvas, which had Scale of 0.501something. So, ok, I get it, there is a relation here, you can't do whatever you want. So, why the f do you have the other overloaded functions of Translate? Tried with Space.Self, Space.World, Transform=null, Transform=Self, Transform=Parent, Transform=Canvas. All gave the exact same result. Turns out, the only solution is to multiply my translation(that is 10.0f) with my object's lossyScale. Wow! So elegant solution there Unity Devs. That was my real problem but I want to point out two more wow-moments I encountered in my Unity journey.

Wow number 2: When use RectTransform.localScale.Set(x, y, z) guess what. Nothing happens. What? I should have use .hasChanged too? Oh really? Well I did and in my amazing surpise, it also didn't work. So, Unity=1, Logic=0;

Wow number 3: I used Vector3.smoothDamp on an object's RectTransform.localEulerAngles to make it rotate on y axis to -360.0f. Well, it started rotating and when it went to -180.0f instead of keep going to -181.0f, Unity rotated it to 179.0f. Ok ok, I know, it's the same thing to the eye but that made .smoothDamp to never end. And I was like "Who the hell told you to do that?". I want my object to rotate to minus infinity. Did anybody asked you to intervene?

When I'll finish with this project, I so done with Unity. Unity's good only for Tetris. Anything more than that, I will honestly more luck with excel. And again. Wow Unity Devs. Just wow.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Owen-Reynolds · Aug 21, 2017 at 03:08 PM 0
Share

If you're interested, you could re-ask any one of these as a Q in the Help Room. For example: "this is what I have to do using rectTransform.Translate - is there any easier way to do this?"

avatar image kalkass Owen-Reynolds · Aug 21, 2017 at 03:14 PM 0
Share

But it's not about difficulty. It's about stupidity. I just wanted opinions on the subject. Never$$anonymous$$d, I'll post it on the forum too.

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

136 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Keys "A" and "D" to TURN and not TURN and RUN 0 Answers

UNITY ads error 0 Answers

...is not a valid directory name. please make sure there are no unallowed characters 1 Answer

Top Down Game - Camera Follow Player and General Scripting Question 0 Answers

There is an error with onEndEdit with the inputfield 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges