This weeks weekend challenge focused on importing the Davros character and animation that I had made in the previous weeks into a game engine. This was more of a technical exercise than an artistic one.
The first thing that had to be done was to export the meshes and animation from Blender. This was done using a single FBX file that contained everything. This took over an hour processing all the data due to the amount being in-puted.
The file was then imported into a scene made in Unity to process the assets. After a few hours, I figured out how to find the animation in the file and apply it to the character mesh. This is where a problem was identified.
This problem was to to with the face rig. It seems that Unity does not support the shape keys that are used to control the facial features and so the face does not change. That means that nothing will change on the face when the animation is running. No lip syncing, no squinting of the eye, nothing.
The rest of the animation, the arm, neck and head movement, all still works and automatically plays when the game is started. This had lead me to rethink how I rig faces in the future when they will be used in game engines.
The environment used as a background for this animation is TARDIS interior I created back in 2013. Before I could use it, I went through optimising it for a game environment and exported it using a FBX format just like the Davros character used. The was a problem when importing it as the materials did not match up with the one created for it. I fixed some of the materials but not all of them (mainly the blue floor and orange walls).
A basic character controller and camera controller was added to the character so it could be moved though out the environment. The problem with this was that the character is facing the wrong way to see any of the animation. I did however allow me to move through out the area jumping over things like a mad man.
I removed the camera controller to so anyone who views the game can see what the animation does. I have uploaded a version of the game onto this website which you can view here. Due to this website only allowing file up to 10Mbs in size, I could not include the audio track that goes with the animation.
You will need the Unity web player plug-in to play the game. It should take you a place to get it if you dont already have it or ask permission to run.
You can move the character using the Arrows keys OR WASD Keys on your keyboard. Use Spacebar to Jump.
As for the animation I am currently rendering out. It looks like I will have the finished animation ready for upload by the end of the week. Once that has been uploaded, that will mark the end of the Davros Weekend Challenge series. This coming weekend I will be starting a new Weekend challenge series. Don't know what it will be yet but I will start something.
Hi, I'm Claude, head & creator of Adaptive Pixel. You might be wondering what brought you here and I'm here to tell you, it was a link. Here is where I will be posting what I'm currently doing and challenges I've done.
Click Here to get an extension so RSS works in Google Chrome