This weeks Unity tutorials thought me about a dynamic HUD, weapons, weapon clipping and commanding the weapon.
After finishing all the scripts at the end of the first tutorial I ran into some problems. When I tried to drag the scripts onto the gem I would get an error. I read over the code again but still could not find any differences from the tutorial. I then looked online to see what the error meant but still failed to fix it.
After finishing all the scripts at the end of the first tutorial I ran into some problems. When I tried to drag the scripts onto the gem I would get an error. I read over the code again but still could not find any differences from the tutorial. I then looked online to see what the error meant but still failed to fix it.
In the second tutorial, I made a fence and added a box collider to prevent the player from walking through the object. I then imported an axe and attached to the first person camera. After that, I learned how to animate the axe. I first created an animation folder before clicking on the animation tab. I then clicked the record button and made keyframes. The final part of the tutorial showed me how to stop the axe from constantly swinging. I found animating the axe a little difficult at the start but got it to work in the end.
The third and final tutorial for this week showed me how to stop my axe from clipping through objects by creating layers. I then made a new script which caused the axe to make a noise when I left clicked on the mouse.
I enjoyed making the axe in the tutorials because it allowed me to perform another action other than walking. I'm looking forward to adding more to the game environment because I want to see how realistic I can make it look.
Fence and Axe
The error I received when dragging the new scripts onto the gem.
Comments
Post a Comment