Can someone glance over this and tell me why this simple script is not working??? Sometimes the simple things just really kill me and at this point a fresh set of eyes may help to find a simple error I have overlooked…I’m not getting any errors, but it is also not working
I am simply trying to copy the orientation from the main camera to the background camera....I swear I am being very slow(mentally) today and cannot seem to accomplish anything. I'm not stressed, I just feel a bit silly.
cont = bge.logic.getCurrentController() own = cont.owner scenes = bge.logic.getSceneList() main_scene = scenes #ui_scene = scenes # if I need to access this later...doubt it. scn = scene cam = main_scene.objects['Camera'] own.lens = cam.lens own.worldOrientation = cam.worldOrientation
EDIT: See, I am an idiot…no errors because I did not connect the noodles on the bricks…it was never being called…I messed with this for 20 minutes before I posted…I apologize for wasting anyones time