public static Vector3 CalculateParrelelVelocity(Vector3 velocity, Vector3 unitDirection) { //returns a vector of the parrelel velocity return(MyMaths.DotProduct_Value(velocity, unitDirection) * unitDirection); }
public static Vector3 CalculateParrelelVelocity(Vector3 velocity, Vector3 unitDirection) { //returns a vector of the parrelel velocity return(MyMaths.DotProduct_Value(velocity, unitDirection) * unitDirection); }