Unity Learn home
View Tutorial Content

Adjusting the Camera and Adding Obstacles

Tutorial
Beginner
+10 XP
30 Mins
(185)
Overview
Summary
You will make the camera follow the player’s movements and add obstacles that the player can interact with in the game
Tutorial Outcome
By the end of this tutorial, you will be able to
  • Make camera follow the player
  • Add obstacles to a game
  • Make player interact with obstacles
Key concepts:
  • Camera Follow Script
  • Polygon Collider 2D
Challenge Ideas:
  • Add more than one obstacle in the game by adding more asteroids (remember you can find them in Project > Images > Asteroids)
Select your Unity version
Last updated: July 28, 2020
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
Language
English
Adjusting the Camera and Adding Obstacles