Keeping the camera central

In my project, I've used constrain attributes to make the camera zoom with the arrow keys - if you hold "up", the camera shrinks (zoom in), and if you hold "down" the camera enlarges (zoom out). However, the camera seems to be fixed to the bottom left corner of the scene, so it zooms in on the bottom left instead of the centre of the scene. Is there a way to constrain the camera to the centre of the scene, so it remains in the centre when zooming?

Comments

  • ericzingelerericzingeler Member Posts: 334
    Use the camera control behavior inside an actor. Then position the actor in the center of the screen.
Sign In or Register to comment.