Hey! I'm doing a survivors like game, where I need a ton of enemies, but of course I have to optimize it first, so my pc doesn't get nuked in the first 200 instances.
My approach is to bake the animations to a texture, shader or something so the enemy doesn't have to calculate the skeleton for every enemy all the time.
But when I'd bake the animations, I'd lose the ability to transition between animations so I want to have the enemy to have actually two things at the same time,
when the enemy is far from the player - basic baked animations, but when enemy is like next to the player - swap the baked animations with the actual skeleton.
So I can have even more enemies, I'd love to make only the baked animations belong in a multimesh somehow
I don't know where to start with all this and how to bake these animations.