I need help figuring out how to build or where to look for a niche sort of decal system that I will apply specifically to 3d humanoid characters with combat animations. The conditions it needs to meet are as follows:
- Decal will animate downward like spreading fluid (e.g. bloody gunshot wound, water gun spray, etc.), and will dry over time changing color but can be overlaid with a new decal that will later dry to that same color.
- Decal must follow twisting/bending animations of arms, legs, and torso without distortion, (e.g. projected decals will not work)
- A single decal must be able to wrap around multiple different materials at the same time and do so without effecting other instantiations of the same material (e.g. a generic fodder enemy getting shot in the torso can bleed down to the hips or legs, despite them using different materials and textures on the model and also using those same materials on other similar enemies)
If there were a way to directly wrap a flat game object around another mesh it would solve all my problems, but I’m not sure where to begin with that. The problem I have with most decal systems is that they will not track character animations and are meant for flat surfaces, or just apply a static image to existing textures and don’t allow for any animation. Any help or advice would be appreciated, I’m not a novice to scripting things myself, just not sure where to begin or if this is even doable.
Edit: For anyone else interested in this, the document below seems to describe what I’m trying to do except I would still want the gravity direction to be variable as the mesh animates.