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

2D

-

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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.