      X:

angle = 45;
sphere3 = SphereCreate(0);
ObjectSetPosition(sphere3,0,0,0,0);
matrix3 = MatrixCreate();
MatrixSetValue(matrix3,0,1);
MatrixSetValue(matrix3,1,0);
MatrixSetValue(matrix3,2,0); 
MatrixSetValue(matrix3,3,0); 
MatrixSetValue(matrix3,4,0); 
MatrixSetValue(matrix3,5,cos(angle)); 
MatrixSetValue(matrix3,6,-sin(angle)); 
MatrixSetValue(matrix3,7,0); 
MatrixSetValue(matrix3,8,0); 
MatrixSetValue(matrix3,9,sin(angle)); 
MatrixSetValue(matrix3,10,cos(angle)); 
MatrixSetValue(matrix3,11,0); 
MatrixSetValue(matrix3,12,5); 
MatrixSetValue(matrix3,13,2); 
MatrixSetValue(matrix3,14,-10); 
MatrixSetValue(matrix3,15,1);
ObjectSetAbsoluteMatrix(sphere3,matrix3);
ObjectUseAbsoluteMatrix(sphere3,1);