K
KarateMan
Guest
Hey Guys, Im having some issues setting up a rotating camera. right now My code for the camera is
view_camera[0] = camera_create_view(0,0,1024,768,0,noone,-1,-1,-1,-1);
view_visible[0] = true;
view_visible[1] = false;
view_visible[2] = false;
view_visible[3] = false;
view_visible[4] = false;
view_visible[5] = false;
view_visible[6] = false;
view_visible[7] = false;
view_enabled = true;
This is because for some reason a different view for some reason was overriding my view 0 and not letting me rotate it. Before it looked like this
While it didnt rotate it atleast was showing me the full room. once i changed the camera code to what is picture above, it looked like this:
When its like this however, I can rotate the camera, so at least that is working.
Any idea of how to center the camera? as it stands for some reason the camera is capturing outside of the room itself. Any help would be awesome!
view_camera[0] = camera_create_view(0,0,1024,768,0,noone,-1,-1,-1,-1);
view_visible[0] = true;
view_visible[1] = false;
view_visible[2] = false;
view_visible[3] = false;
view_visible[4] = false;
view_visible[5] = false;
view_visible[6] = false;
view_visible[7] = false;
view_enabled = true;
This is because for some reason a different view for some reason was overriding my view 0 and not letting me rotate it. Before it looked like this
While it didnt rotate it atleast was showing me the full room. once i changed the camera code to what is picture above, it looked like this:
When its like this however, I can rotate the camera, so at least that is working.
Any idea of how to center the camera? as it stands for some reason the camera is capturing outside of the room itself. Any help would be awesome!