static Vec3 AngleXY(float angleDeg, float z)
|float angleDeg||Angle in degrees, starting from (1,0) at 0, and continuing to (0,1) at 90.|
|float z||A constant value you can assign to the resulting vector’s z component.|
|RETURNS: Vec3||A vector pointing at the given angle! If z is zero, this will be a normalized vector (vector with a length of 1).|
Creates a vector that points out at the given 2D angle! This creates the vector on the XY plane, and allows you to specify a constant z value.