get children from current variable (taxonomy) via shortcode

Ok I finally notice what is it that I have to do! 😀
The variable was already set in the array in the shortcode atts.

All I had to do was set the parent=$category in the before the filter:

$terms = get_terms('cat_portfolio', array('hide_empty'=> true, 'parent'=> $category));

For wordpress developers maybe this is very easy but I am learning.
Hope this helps someone.