L
Lintydude
Guest
Whenever I try to rotate my 3D dice object on x, y or z axis, it will only work on the z axis. Help?
Draw Code:
Draw Code:
Code:
d3d_set_culling(false);
d3d_transform_set_rotation_x(xrot);
d3d_transform_set_rotation_y(yrot);
d3d_transform_set_rotation_z(zrot);
d3d_model_draw(dice1,xpos,ypos,zpos,background_get_texture(bckDiceWin));
d3d_model_draw(dice2,xpos,ypos,zpos,background_get_texture(bckDiceDraw));
d3d_model_draw(dice3,xpos,ypos,zpos,background_get_texture(bckDiceLose));
d3d_transform_set_identity();
d3d_set_culling(true);