How to make a tween using springs?

So right now I’m working on an fps framework, and I’m working on the aiming part. Right now, I have a normal linear aim animation as showcased in the video:

Now my question is: How do I make it more of a bouncy, spring like animation with a spring module? Here is an example for anyone that needs it:

Any help is appreciated, thank you!

personally, i use spr for these types of things.

they have docs on the page!

The description says the springs are used for UI animations, but I’m trying to animate a part in the camera. Does this work on parts as well?

spr should support all of these types, so as long as your only tweening those then it should be fine!

I’m not doing number, but im doing the value of a NumberValue, does that work?

NumberValue.Value is considered a number, right?

yes, it is! if your using actual objects, a general rule is the type is said in the name (NumberValue, CFrameValue, Color3Value, etc)

Thanks a lot! The module works great!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.