Week three self study + tutorial
This week for self study we learnt about creating terrain in Unity with the terrain tools package and making meshes with ProBuilder.
Using the noise setting I created mountains (?) to the west just so there was something happening with the terrain. I had to texture the mountains and the grass so the terrain wasn't boring but I didn't know how to simply paint the terrain so I had to build up the grass texture by setting the strength to something small (0.001) so the landscape didn't change.
Next I added physical grass and trees. To add the actual grass I used the Bush_A_BaseColor texture image provided by terrain tools in the TerrainSampleAssets. I set the brush size, strength and texture density really high and just dragged the mouse over everywhere that had the original grass texture. To add trees I imported the tree model used in the first tutorial found here Free Trees | 3D Trees | Unity Asset Store but they were tiny. To fix that issue I had to find the mesh and set the Scale Factor to 4 and the trees were a much nicer size. Then I increased the brush size and density like with the grass and just built a small forest. Lastly I increased the detail distance and billboard start value to the max to display more grass and trees respectively.
After the terrain was done I started on the holy wizard temple. I decided to keep the advanced futuristic building white because it is super modern and will be the normal style futuristic wizards go for in a couple of thousand years. I used the stair tool and cube tool to create the main structure of the building then added a cylinder, torus and cone for the tower. None of this is correctly placed and I just eyeballed everything but that's also the style in the future, so it wasn't anything to worry about.
I tried adding a bit of a maze like structure with the trees as you can hopefully see with a bird's eye view.
The grass, by default, moves in the wind and I think it looks quite cool. The trees, sadly, do not sway in the imaginary wind. I had to upload the file externally because it was 38MB in size.
https://i.imgur.com/oMAxkvV.mp4
In our tutorial we imported the humanoid figure made in blender into Unity and applied the animations on conditions. Press space to use the wave animation; move to use the walk animation; do nothing to do the idle animation.
Here are all the animations playing. You'll just have to trust that I'm pressing space.
It's great seeing the walking animation in all it's glory.
Triggering the wave animation is quite simple. I have a script called WaveTrigger which just checks every frame (?) if space is being pressed and if it is it tells the animator controller to play the wave animation when the current animation is finished.
Triggering the walk animation is also quite simple. I have a script controlling movement called MyThirdPersonController that detects if any of the keys W, A, S or D are being pressed and if they are I set a variable to true that is asking if the character is moving. Then I have a WalkTrigger script that updates the animator controller every frame with the character moving status and the speed the player is moving at. This tells the animator to start playing the walking animation at the sameish speed as the player.
UTAS KIT207 Portfolio
Status | Released |
Author | charliecooper03 |
More posts
- Week five tutorialAug 15, 2023
- Week five self studyAug 15, 2023
- Week four self study + tutorialAug 01, 2023
- Week two self study + tutorialJul 18, 2023
- First week using blenderJul 18, 2023
Leave a comment
Log in with itch.io to leave a comment.