then add this after the other script
character.HumanoidRootPart.CFrame = character.Torso.CFrame or character.UpperTorso.CFrame
animation:Stop()
or don’t move the character in the animation and move it with body movers or cframes
then add this after the other script
character.HumanoidRootPart.CFrame = character.Torso.CFrame or character.UpperTorso.CFrame
animation:Stop()
or don’t move the character in the animation and move it with body movers or cframes
You did read the other comments here? The main part is to stop my character from sliding back. I’ve also tried this too. Didn’t work.
the script will move the characters root to the torso position so when you stop the animation the character will be there
Its because the track.Length of the animation is not fully loaded, when it gets multiplied by 0.99 in that script from that solution, you should wait for the animation to be fully loaded into the animation track to get a value different than 0.
But that script just slows the animation speed, at the end of the animation. Could be useful if used with the getMarked approach I was saying, but, for a soccer game I hardly think animating the character to change its position would be a bad idea due to the other systems that should work.
I wonder if fighting games use a dash system based on the animations changing positions of the character
No, it will not. As I just told you, half of this topic is to stop the character from sliding back. If I do what you sent me, it will teleport, but it will also slide (i dont want that)
One quick question, I am using the velocity stuff now, how to cancel the default animation for walking?
Right now, it plays the walking animation when I slide over the ground while not walking, just moving.
then try doing the other thing i said, don’t move the character with the animation and move it with body movers. Because you’ll most likely have to find a different method. as node said
Alright, but I need help with something else right now, I’m using what you just said right now.
Is the same thing I was saying. But maybe would be better with MoverConstraints, cause BodyMovers are a “little deprecated”
they still work pretty good. games like parkour use it and that works just fine. An alternative would be aligned position/orientation but i can’t help with that since I’ve never really tried learning how they work
Agree! I actually hate MoverConstraints, Im used to BodyMovers, and I like them, but ppl told me many times do not still using them :v
I know I’m late, but is there any good way to teleport characters to the last frame of the animation? Yes, I know body movers exist, but with complex beatdown cinematics, you can’t use them. Here’s an example: The World Punch & Kick Barrage Animation Concept - YouTube