How to do a flipping tool animation?

So I want to create a knife game, and want to know how arsenal does his knife flipping on f, like with the butterfly knife, I would think cframe but how?

3 Likes

This is an animation.
You could CFrame it but that would take a lot more work.

Which is better for performance, cframes or animations?

how would I animate a thing like that/

CFrame animations require the script to do a lot of CFrame math operations in a period of time. Animations don’t require the script to do all that work. Going via the Animations route would be much better in terms of performance. However animations require Humanoids to work and depending on the thing being animated. Custom rigs. CFrame animations on the other hand, don’t really need either.

Time would also be an issue when creating CFrame animations. You’re likely going to spend a lot more time creating and fine tuning CFrame animations. As opposed to if you just created an animation using the animation editor or blender.

Edit: Forgot AnimationControllers don’t require humanoids as mentioned by alalala.

2 Likes

Ah alright, ill look into cframes and also custom rig animation.

The animations in Arsenal don’t use Humanoids. They use AnimationControllers (more efficient than using Humanoids).

Setting up a rig is exactly the same as if you would set it up using Humanoid.

3 Likes

If you want to animate the weapon while holding it ingame and moving it in the player’s hand, you can use motor6d to replace the rightgrip weld so that you can control its movement via animations already made. No need for CFraming and other complex things. If you want the knife to fold and stuff, use motor6d’s to add it to the animation list so you can animate that as well.

1 Like