Super Meat Boy Styled Camera?

How can I make a camera which will follow the player when he ascends above a certain height and stop and stay in place when he hits another higher height.

Much like the camera in super meat boy, how it will follow the height of the player from one part to another part and remain static in all other circumstances

1 Answer

1

have cameras that only activate when the player enters a certain area (ie different heights) then script each camera when active to follow the player along the x axis (left and right)

How would I script it that it would only follow on one axis?

i believe with a bit of searching you may find the answer yourself. http://answers.unity3d.com/questions/21492/how-do-i-lock-y-axis-movement-for-parented-camera just start by looking.

ooops sorry about that wasn't thinking thanks big time though :)