So I currently have created an animation (which is currently in my server storage under a model under animsaves) and I’m unsure on what to do to have it play on my viewmodel (Someone told me to use the animationClipProvider) and after reading the documentation I’m still unsure of what to do.
Are you using a Viewpoint Frame?
No, I just updated the viewmodel’s primaryrootpart to the camera frame.
So what are you trying to make?
A gunviewmodel. Is it best to use viewpoint frame?
Probably not. I can try to make something that may work.
The main question here is just getting the animation to work. updating the Viewmodel’s primarypartcfrrame to the camera cframe is probably the best way know how to do view models but if there’s a better way to do it please tell
Are you animating a gun? If you are, can you send me the model?
I figured it out. I can send it to you if you would like but otherwise I figured it out. It’s just that how do I stop the animation?if another animation plays will it automatically stop the current playing animation?
I think so. Try it. Otherwise, just stop the animation some other way.
This solution wasn’t very helpful because the tutorial was using an already uploaded animation to Roblox with an already set id in place while I was only trying to get a temporary hash / id from the keyframesequence using the AnimationClipProvider service (then creating a new “Animation” instance. and setting that id to that hash) But thanks for the tutorial though definitely some helpful tips in there for other gun functionality
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.