interpolating camera size to zoom makes camera offset temporarily nonfunctional- why?

BellaNomarBellaNomar Member Posts: 5
edited May 2012 in Working with GS (Mac)
I'm using an accelerate-to-touch coordinates movement scheme, and the camera offset solution described here (adding camera coordinates to touch coordinates):

As my main actor grows larger, the camera zooms out at certain points using interpolate to achieve a smooth zoom out.
however, whenever this happens, it messes up my control scheme. It seem to make the camera offset rule not work during the period of interpolation. Has anybody else experienced similiar problems? I read something about interpolate having some strange behavior in relation to the camera.

Best Answers

  • The_Gamesalad_GuruThe_Gamesalad_Guru Posts: 9,922
    Accepted Answer
    Does your main actor have the control camera behavior in it? If so you need a Boolean to turn that off during the offset override and then switch back to the actor's control of the camera.
  • tenrdrmertenrdrmer Posts: 9,934
    Accepted Answer
    Also f your camera is offset you will need to interpolate the camera origin at the same speed. Otherwise the bottom left will stay put and the top right will move toward the bottom left.

Answers

  • BellaNomarBellaNomar Member Posts: 5
    Thanks! these seem better than the workaround i developed with a timer and change attributes...
Sign In or Register to comment.