I
Isaac Roberts
Guest
I need to switch which object the camera is centered around, I made a different viewport, but can't figure out how to switch it. I also tried this code
var cam = camera_create_view(0, 0, 1920, 1080, 0, Obj_Camera, 10, 10, 920, 580);
view_set_visible(1,cam)
view_set_camera(1,cam)
But that just makes the camera centered on the top left.
Anyone know how to switch viewports? Thanks!
var cam = camera_create_view(0, 0, 1920, 1080, 0, Obj_Camera, 10, 10, 920, 580);
view_set_visible(1,cam)
view_set_camera(1,cam)
But that just makes the camera centered on the top left.
Anyone know how to switch viewports? Thanks!