- Home /
Camera Toggle script
Hi all,
Would anyone be able to point me in the direction of a script that will give me the same camera functionality as seen in the image effects demo on the unity site. I'm after the smooth movement between points as well as the toggle function.
http://unity3d.com/gallery/live-demos/index.html#bedroom
Thanks for you help.
Cheers Peter
Answer by DaveA · Aug 18, 2011 at 11:46 PM
What I do is create a camera for each preset move. Get it all lined up. Then turn the camera components off (you don't want them active). I put them all as children of a grouping object. Then a script reads that grouping object and picks a child. Then use Slerp functions to move the main camera around in an Update function.
Your answer
Follow this Question
Related Questions
Toggle between scripts with a script? 2 Answers
Problem with changing target of Camera. 1 Answer
Toggle Control between multiple turrets 0 Answers
RPG scripts 2 Answers
Camerascript works strange! 0 Answers