GMU:Digital Puppetry Lab/Group Ben & Luca: Difference between revisions

From Medien Wiki
Line 87: Line 87:


===Setting up the Camera===
===Setting up the Camera===
[[File:unity2.png|600px]]
[[File:unity2.png|800px]]
[[File:unity4.png|600px]]
[[File:unity4.png|800px]]
[[File:unity5.png|600px]]
[[File:unity5.png|800px]]


For our text which appears on the screen we simply created canvas element. We set the "Render Mode" to "Screen Space - Camera" so it fits to the Maincam and attached the Main Camera object to the Canavs.<br> In the next Step we created a "LookAt" script which gives our cam a smooth damping while the scene bumps up and down. Afterwards we attached the script to our Maincam.
For our text which appears on the screen we simply created canvas element. We set the "Render Mode" to "Screen Space - Camera" so it fits to the Maincam and attached the Main Camera object to the Canavs.<br> In the next Step we created a "LookAt" script which gives our cam a smooth damping while the scene bumps up and down. Afterwards we attached the script to our Maincam.