Add a generic animated entity build function.