Heya!
This is my first post on DevForum, believe it or not!
Anyways, I was just making Fake Arms (ViewModel) for a FPS game.
When I look down and jump, I get flinged?
I’m 50% sure that it is happening because of the display arms
Can somebody please explain to me how that is happening?
The Humanoid will force parts of your viewmodel to be CanCollide on, you need to move all the parts in your viewmodel to a different collision group that doesn’t collide with other CollisionGroups
You can actually animate objects with an AnimationController. It works just like the humanoid for animations like :LoadAnimation() and :Play(), but doesn’t have features from the humanoid like jumping and climbing and walking and stuff so that could possibly fix your problem.
You could read the documentation page @devinkid1 sent, but here it goes. You wanna set the animation preferably with a variable, local loadedAnim = animControlReference:LoadAnimation(animationReference), and to play, loadedAnim:Play(), simple as that.
Its exactly like using animations with Humanoids. To load an animation with a variable you use local testanim = animationcontroller:LoadAnimation(directory) and use testanim:Play() to play, like any other animation.
Edit: I did not see that @zamd157 said pretty much the exact same thing as me oops
It doesn’t have the states that humanoids have that would try to make you stand up, etc
Rigs and animations work the exact same in animation controllers. If you want to make an animation, just click on your viewmodel rig like any other in the animation editor. To load an animation with a variable, you do:
local Animation = controllerRef:LoadAnimation(animationRef)