Hey, i made another module! AdditiveAnimator, a utility class module that allows for additive animations in roblox.
I made this module to provide a reliable way to layer character hit animations on top of existing animations (atleast in my use case). I think this has a lot of potential, honestly.
Feel free to use AdditiveAnimator in any projects you are working on, as its under the MIT License.
Showcase
I set up a little walking loop for mixing directional movement using AdditiveAnimator’s animation blending, also when you click the head it does a little hit animation lol.
If you’d like to mess around with it yourself, heres the place file:
additiveanimator-test.rbxl (102.1 KB)
You can even set up acceleration-based weight for the animations based on direction!
Enjoy lol!
10 Likes
Can you provide a video or example place (or even both!) of the module in action? Working code with animations (as I’m sure you know, hence the creation of this model) can get really finnicky really fast and it’d be helpful to have a visual view of how the module performs when we’re talking layering animations!
Right now this only supports one additive animation (on top of whatever existing animation is playing), if I’m reading the code correctly. Are there any plans to expand the amount of possible additive animations. Totally understand the argument against doing so - at that point, it’s probably better to get into a more ground-up/total animation reconstruction to support a game’s needs, but still curious.
Sorry! I didn’t really have time to make a little example place yesterday, as it was getting late and i need adequate amounts of sleep lol.
I’ll make a little test place to show off how you can use it later today. Also, i’ll be implementing Bone support asap.
By the way, you actually can use multiple animations at once! It allows for any arbitrary amount of “Layers”, if you’d also like to change how much an animation influences the full resulting movement, you can just play the animationtrack with the 1st & second arguments for fadeTime & weight.
1 Like
@https_KingPie Well i just uploaded a little example file & video, hopefully people will see the potential! (god i hope i didnt write spaghetti code)
1 Like