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.
:comet:spr
Docs | Download | Home
[Ljt38piFyS]
Springs are a powerful way of describing physically based motion.
spr is an accessible library for creating beautiful UI animations from springs.
Fluid animations can be created in a single line of code with a simple syntax. Blending between animations is handled automatically in a physically-accurate way.
Driving Simulator uses spr extensively to handle over 500 unique animations.
Gallery
Features
A small API
…
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 (Number Value, CFrame Value, Color3 Value, etc)
Thanks a lot! The module works great!
1 Like
system
(system)
Closed
June 18, 2024, 3:01pm
#9
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.