Dev Log 4

 


This week I have fixed the carry and drop animation so now when the character picks up an object the arms will extend forwards to give it the illusion that the character is carrying it. Whilst fixing the animations I could remember how to do certain things however this is still something I am struggling with and needed to use a tutorial in order to get the final result. There is some issues with the animation as when it is played the characters right arm does not look natural as it is clipped through the body. I did try and fix this issue by moving the arm more to the side however the same issue still occurred and after a lot of time I decided to leave it how it was as you couldn't really notice it when playing the game.

My next task was allowing the character to be able to drop the item once the 'E' key is pressed again. I found that the reason the character was not able to drop the item was because I needed to use a break constraint node with the physics component instead of the original nodes the tutorial told be to use. I then ran into another issue which was with the objects that can be moved when you try to stand or jump on them the objects will sink through the floor. I almost fixed this by changing the weight of the objects which did allow me to stand on them. However although I was now able to stand on them when I tried to pick the objects up the character would no longer be able to pick them up and the character would get stretched when trying to move away. I then reset the mass values and had a look at the collisions on my object which I tried to change but still ran into the same issues. I then looked into my characters collision which I had been changed I put this back to the default settings which then allowed everything to work as intended.



This week I have not managed to make as much progress as I would have liked too as I have had to do a lot of debugging and sorting out different issues. However, this has allowed me to work on my problem solving skills which is crucial skill when working with code. Next week I am going to focus on making my project move forwards by starting to work on the level design for the first level. This is a good stage to work on the environment as all mechanics are currently working as they are intended to.


Comments

Popular Posts