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

From Medien Wiki
Line 91: Line 91:
===Setting up the Camera===
===Setting up the Camera===
<br><br>
<br><br>
[[File:unity2.png|600px]]
[[File:unity2.png|700px]]
[[File:unity4.png|600px]]
[[File:unity4.png|600px]]
[[File:unity5.png|600px]]
[[File:unity5.png|700px]]
<br><br><br><br>
<br><br><br><br>
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.<br><br><br><br>
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.<br><br><br><br>