Camera not repositioning correctly
Posted: Wed Jan 04, 2017 1:58 am
I have been playing around with sequences and have run into an issue with the Camera Angles. In the "Cam Angles" tab, I set my angle correctly for a close up shot of my character's head. But when the LUA sequence fires off in the game, the camera is set to a different position. The camera is placed in some scaled or offset position from where I set it up. I actually managed to see my character in the repositioned camera (just by moving the reference object and hitting play over an over and just happened to hit a position where my character is visible), but now, when my character moves and I kick off the sequence again, the camera goes back to the exact same world position instead of being offset along with my character and being relative to my character.
I really need some help here, at this point the cutscene sequences are unusable.
The setup is really basic and there isn't much going on in my game yet. Just an active camera and a secondary camera I use for the sequences.
Any idea why running this LUA in a sequence: Camera(CharCloseup,Character1); would not be positioning the camera relative to the Character1 Gameobject and instead would be positioned using world coordinates? The view when I look in the "Cam Angles" tab is correct but it doesn't seem to translate properly in game.
I really need some help here, at this point the cutscene sequences are unusable.
The setup is really basic and there isn't much going on in my game yet. Just an active camera and a secondary camera I use for the sequences.
Any idea why running this LUA in a sequence: Camera(CharCloseup,Character1); would not be positioning the camera relative to the Character1 Gameobject and instead would be positioned using world coordinates? The view when I look in the "Cam Angles" tab is correct but it doesn't seem to translate properly in game.