2D vector operations are just as important as the 3D ones and having individual commands for them is very useful for faster vector operations.
Command syntax:
vector1 vectorFromTo2D vector2 vector1: 2D or 3D vector (Z component is ignored) vector2: 2D or 3D vector (Z component is ignored) return: Unit 3D vector (vectorMagnitude == 1) with Z=0
This command can, for example, be used to get the vector direction from position A to position B for using with setVectorDir
P.S: I know we can use setDir, but that one is not suitable for per frame codes.