This is the code I'm using:
d3d_transform_set_identity(); d3d_transform_add_scaling(scale,scale,scale); d3d_transform_add_rotation_x(x_rot-zdirection); d3d_transform_add_rotation_y(y_rot); d3d_transform_add_rotation_z(z_rot+direction); d3d_transform_add_translation(x,y,z) draw_set_color(c_white); d3d_model_draw(gun_upper,+.66,+1.6,+2,upper) //d3d_model_draw(2,x,y,0,background_get_texture(tex_red)) d3d_transform_set_identity();
Picture 1:

Picture 2:

If you need any more information just ask.
Oh and also, if you point out any code that could be improved, just let me know, thanks











