Tuesday, February 2, 2021

Unity Tutorial 02


 The first thing was adding 2 boxes to the scene. Then was to change the settings so by was in front of the box.   Next was changing the pivot on the two boxes and ruby.

Then was to make a new folder called prefabs which I added to two boxes too, then changing the color of the boxs. Then after bringing more objects into the scene such as trees, by doing the same process of changing the pivot to the bottom and adding to the prefab folder. 

Part 2: First was adding Ruby to the prefab folder and adding a 2D rigid body. In the overrides I had to apply the rigid body however min wasn't in the override so  I deleted the first one I made and made a new one to see would it work which it did. Then had to add a box collider to Ruby and the boxs. Then was adding a script. then changing it so Ruby hit off the order off the water and nowhere else. Then is  the tilemap object adding a composite collider 2d and making the property static.

 














No comments:

Post a Comment