I am currently trying to create a framework for an FPS game. I have made a functioning gun with a model that is being constantly CFramed to the camera at an offset. The only problem with my current gun is that it lacks animations. I would like to create smooth, scriptable animations with methods similar to Phantom Forces. I have done some digging in an older version of the game and found that the models being attached to the camera were attached together using Motor6D welds, but I have no idea how they were animated. Does anyone know of any methods on how to do this or links to wiki pages so I can learn how to do this? (Sorry if the wording is weird or if the question seems vague and uninformative.)
COMMUNITY QUESTION
How do I animate an object that is being constantly moved?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
they used the roblox animate plugin. that's somewhere to start from my knowledge, you do need to have a "Torso", "Humanoid", and "HumanoidRootPart" to animate with the plugin. if i was doing it, i would experiment by putting all of that in the gun model, play an animation when you click, and see what happens. reply and tell me if it worked or not.
I'll definitely try this out, but do you know of any way to script smooth animations that would fit into my situation?
I've done some more research and I might be able to use springs and Hooke's Law to animate this.
I think I'll just use the animation plugin. Thank you for your help!