Search Unity

iTween camera movement.

Discussion in 'Scripting' started by kevdotbadger, Feb 10, 2013.

  1. kevdotbadger

    kevdotbadger

    Joined:
    Sep 13, 2011
    Posts:
    82
    Hay all. I have a problem.

    I'm using iTween and I want to move a camera similar to how Crash Bandicoot's camera move. It seems that CB's camera has a path that it never leaves, however as Crash progresses through the level the camera moves along that path.

    I was thinking that I draw the path, then attach a camera to that path, then get my chars position, and pretty much find where the camera should sit on the path based on my position.

    Anyone have any idea how I should do this? Is this a sensible way of doing this?