I am creating a gun and I am making the animation in a R15 blocky rig. The animation basically goes to where I want the players arms to be when it is holding the gun then goes back to the normal position.
I want it so when I play it that it would loop and just look like the player is holding the animation however, the animation just replays and doesn’t stay in the position I want it to.
I have the looped value to true and the priority is action.
Any help is appreciated, thanks
So you have an animation of the player pointing the gun then putting it away and you want it to stop at the point where the gun is pointing?
If Looped is true then the animation will just keep playing.
Shouldn’t you use just one animation where the player pulls out the gun and points it? You could use EasingDirection In and Out to play that animation forward and backward. Using the Animation Editor
Make the animation from unequipped to equipped only.
When you equip the gun with a script then play the animation in the forward (in or out, I’m not sure which way it works) direction.
You may have to change your idle animation as well to hold the gun.
When you unequip the gun play the animation in the reverse (out or in) direction.
Here’s a post with gun animations that you may be able to learn from:
Thanks, however how exactly would I modify the animation to accommodate the extra gun joint?
What I am trying to do is just hold the final state of the animation until the player unequips the weapon in which for further detail:
I would like it so the animation when it gets to the end holds there until the player basically unequips the tool, like I want it to be like a hold animation.
Search around here for how to disable the player’s current idle animation and play your idle animation instead. I’m pretty sure you will get better information from others who have had or fixed idle animation concerns.
Your idle would be an animation you create, starting with the final position of your gun enabled animation and you can add sway or movement if you want like the default Roblox idle animation(s).
When you disable the gun, disable your idle animation and play the gun enabled animation in the reverse direction.
You can’t just stop an animation and have it stay at the last postition. The idle animation takes over.
I’m not experienced at using animations, I’ve just read other posts about them.
Try that search button up top