Home Artists Posts Import Register

Videos

  • facing.mp4

Downloads

Content

TL;DR implemented facial control from blender to unity

So implementing being able to control the face rig for the character on blender was easy enough, however whenever you export the animation data into unity it tends to add a small ammount of interpolation at the end of keyframe curves with constant interpolation which is a problem in this case since the face animation is done by moving UV's which means if there is visible interpolation the face will have a slot machine looking effect on it

Which is not something we want so, thankfully blender has a thing called "Custom properties" to which you can assign a type for example an integer which shouldn't have interpolation visible!, well that works in blender however thanks to Autodesk having some propertary license thing over the fbx format custom properties aren't a thing blender can export?

So that takes us back to dealing with that small crumb of interpolation that unity won't let go off, the solution was to remove the visible interpolation via code

This one being the silver bullet snippet which at worst has 1 frame of delay on changing expressions but thats a small price to pay to move on

Anyways if you are still reading would you like to see more of these technical snippets?

Comments

No comments found for this post.