zektonn
(zektonn)
October 19, 2022, 3:20pm
#1
Hello!
Why is my animation playing differently in-game than in studio??
I’m loading the animation like so:
local Character = Player.Character or Player.CharacterAdded:Wait()
local Animator = Character:WaitForChild("Humanoid").Animator
local Attack1 = Animator:LoadAnimation(script.Attack1)
local Attack2 = Animator:LoadAnimation(script.Attack2)
local Idle = Animator:LoadAnimation(script.Idle)
local Block1 = Animator:LoadAnimation(script.Block1)
local Block2 = Animator:LoadAnimation(script.Block2)
Check this video for reference:
In-game it plays the same animation but not to the full extent, why?
1 Like
Publish your game and try again.
zektonn
(zektonn)
October 19, 2022, 3:37pm
#3
When I say in-game I also mean inside studio when play testing, as you can see in the video.
Try increasing animation weight in that case. Usually this issue lies with fadeTime or Weight
zektonn
(zektonn)
October 19, 2022, 3:40pm
#5
What do you mean by weight?
I need 30 letters to post this!
This documentation shows you:
AnimationTrack | Roblox Creator Documentation
in other words, it is a way to override other animations.
zektonn
(zektonn)
October 19, 2022, 3:44pm
#7
The animation is set to action.
Is this script in a local script?
Okay, try reading this (some will not apply)
Set animation priority to action. Make sure the rig type is correct. If so, test it on a dummy rig using a script to play it. It is possible that you anchored your rig and the animation will not appear to play. Make sure you are the owner of the animation (studio playtesting). Make sure the game owner is also the owner of the animation (team test/roblox player/playtesting).
Try testing the animation in an empty baseplate. If it doesn’t work, try deleting the Humanoid and loading the animation f…
And if that doesn’t work, try making sure multiple animations are not playing at the same time.
zektonn
(zektonn)
October 19, 2022, 3:48pm
#11
I have already done everything mentioned in that post.
Try disabling AnimationWeightedBlendFix
in Workspace
. If that solves your problem, contact @Bug-Support , since this property will be removed soon.
1 Like
zektonn
(zektonn)
October 13, 2024, 1:23am
#13
Its been a while, but I’m having this issue again and it seems Roblox has removed that option from workspace.
I made a bug report but I don’t think anything was done about it.
EDIT: ↓
Nvm, I fixed it with using higher priority’s:
I want to add that the issue it seems is the animations are fighting for dominance with each other causing none to fully play out.