Search Issue Tracker
Fixed in 5.1.0
Votes
0
Found in
4.5.0f6
Issue ID
623330
Regression
No
Vector2 is missing useful members in comparison with Vector3
Vector2 is missing useful members in comparison with Vector3
Since implementation of 2D support in Unity, Vector2 class has not received significant member synchronization with Vector3:
-Vector2 can now be used in 2D physics to determine movement direction, however it is missing Vector2.down and Vector3.left static variables. This is counter-intuitive for new users as well as users which are used to Vector3.down and Vector3.left.
-Vector2 could also contain a variants of Vector3.Reflect, Vector3.RotateTowards and others, which should be determined.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] Crash on glXCreateGLXPixmap when hovering over labels in the Inspector window
- "Assertion failed on expression: 'prefabInstance.GetPrefabModification().m_TransformParent.IsValid()'" is thrown when reimporting a Prefab
- Rigidbody2D.Cast does not detect collisions when 'Is Trigger' property is enabled
- GameObjects with "hideFlags.DontSaveInEditor" paired with the "DontDestroyOnLoad" method are not relieved up when the Play Mode is exited
- [Linux] Editor language is not changed when selecting a different language
Add comment