updated Create Cube command to match the C++-SDK version, using the selected object's global matrix.