public static Vector3D toVelocityVector(double heading, double pitch, double speed)
	{
		Vector3D result = new Vector3D(1, 0, 0);
		double radians = Math.toRadians(normalizeHeadingInDegrees(90 - heading));
		result.rotateZ(radians);

		double angle = -Math.toRadians(pitch);
		Vector3D rotationAxis = new Vector3D(-result.y, result.x, 0);
		result.rotateAroundAxis(rotationAxis, angle);
		result.normalize();

		result.multiply(speed);
		return result;
	}