I want to blend my procedural animation calculated in real-time and a canned animation playback at the same time. I’ve already learned how to override the procedural data to the canned animation data by using “function LateUpdate()”. What I wonder is that whether it’s possible to assign the procedural data to a specific layer and blend it with the canned animation assigned to another layer.
Thank you in advance.
1 Answer
1
No, you can not do that. You can to do the blend yourself, i.e. control how much of animation you override in LateUpdate.
Offtopic: “procedural animation” is also a name for animation generated by code (at runtime or editor time). In that case it is a plain AnimClip and it can be played in certain layer and blended as a regular animation. But these kind of procedural animation are only useful when you know exactly how they will look.
Thank you for the answer. I understand. I'd like to ask about the offtopic. What does "animation generated by code" mean? Because what I want to do IS to assign animation data generated by code (based on math formula) to certain layer.
– anon78193772