Skip to main content

Cure - Dying Polygons

Today was spent trying to work out how to make a face try black then fall off of my character as she was moving. In prior tests, this was easy as she was just a static model but with a rig in her and animation it complicates things in Unity. After a lot of trial and error my best method that I can (hopefully) repeat for other polygons is as follows:

I need to duplicate the model as a whole with the input graph, then delete every face that isn't the one 'dying'. Duplicating with the input graph keeps the rig and animation intact.


This polygon also has to be slightly pulled away from the mesh so that it doesn't intersect and cause strange rendering glitches.





Keeping this individual face means that I can animate it on its own in Unity. I animate the alpha channel from 0 - 1. Going from transparent to opaque. This is set from 0-60 frames (2 seconds)


I then need to have another duplicate of the face with no history. This polygon then has no rig, or animation or anything else related to it. I line it up with the character model and use this polygon to animate the falling motion.


But first I make sure that the polygon is not being rendered, then switch on the renderer as soon as the falling starts.

All of this seems a bit convoluted but I had tried several other ways of making the polygon fall including just animating the original duplicated poly in Unity but because of the rig already being attached it wasn't possible. I also tried adding a collider and rigidbody to the polygon to let gravity take it to the ground but this wasn't working either.

This is the current result using my method.


Comments

Popular posts from this blog

A Quiet Place

Earlier in the week I went to see A Quiet Place and as someone that doesn't watch a lot of horror films, it was not what I expected. The premise of A Quiet Place is pretty simple: There are monster out there and if you make a sound, they'll come for you and it's safe to say that I have never felt more tense in a cinema (And on a side note, that was the quietest cinema I have every been in). The film's main dialogue comes from sign language with a few rare vocalised sentences. This means, for the most part, that we're focused on how the characters move, how they act rather than what they say and I was shocked at how quickly I felt attached to the characters: I didn't want them to be in this situation, I wanted them to be safe but, shockingly, they weren't. The pace of the film is just enough to make you think that there's a safe respite ahead and there are gaps in the chaos before a sound crashes through the screen snapping you awake. There are m...

Cure - Advanced Skeleton 5

I spent a fair chunk of the day yesterday playing around with Advanced Skeleton 5 in Maya and honestly, it's amazing. I wasn't sure how well it would work with my model because it is so low poly but I came out surprisingly well. So Advanced Skeleton gives you the joints from a template and once they're all lined up you can build the controllers to see how it will move. Because you do all of this in stages, you can change and update the rig at any point.  There are a few different methods to bind the skin and this is one of them, but in the end I didn't use the Skin Cage because it didn't seem necessary for my model. Once the body rig was done I spent a LONG time trying to get the facial rig to work. I was clearly doing something wrong the first few times I tried it because it worked just fine when I sat down and worked through it step by step! The skeleton also comes with pre-made walk cycles so I put my character into these to see how the de...