SGD300-AnimatorController Class
A downloadable game
1. Introduction
In this week, I continued my work about character animation.
Last week, I tested and completed animation of player. However, I found out that the player's character is not working with Movement script we already made.
As a result, I worked on Animation Controller, which works with scripts already made and able to add any kind of animation to player character.
2. Accomplishment
As mentioned, I was working on animation controller and this script enable player character to read the scripts and add some animation motions.
Also, I found out that on Unity Asset Store, the provide some default scripts and assets for the developers to reduce their time. However, as a student I want to finish this task by myself.
3. Problems
Of course, I had some problem when working on this script. First of all, I took so much time on researching information. Also, I did not know where to start.
4. Tackle the Problems
So, I concentrated and try to understand the function of the script I am working on.
This script is all about utilizing other scripts and enable to add other movement whenever we need.
So, I start with reading other scripts and reference these scripts in Animation Controller. I also, read Attacking scripts. It is because, this will be my next week task.
I noticed that using pathfinding script has all the functions for moving and finding way. So, I only need to work on key setting which means whenever player press left mouse button, my script will allow character to use pathfinding script.
As a result, I worked on that functions referencing pathfinding script and connect it to animations (walking, Attacking and idle position)
5. Lesson learned
- Handling functions by referencing other scrips
- Controlling animation by using boolean state
Status | In development |
Author | yohan1202 |
Genre | Adventure |
Tags | Anime, Unity |
Development log
- SGD300-AnimatorController ClassOct 04, 2019
Leave a comment
Log in with itch.io to leave a comment.