So I’m making a game that involves the use of swords. I’m a basic animator; I made a few character animations to be used in tandem with the sword. I made one animation called “lunge” that makes the character jump forward and thrust the sword forwards, and it works fairly well. The issue is that it doesn’t actually change the character’s CFrame, so it risks tripping my server sanity checks (they compare the player’s cframe and the enemy cframe on weapon contact to make sure a cheater isn’t just triggering the remote event from across the map). Is there a way to make the character’s CFrame change when the animation is played?
hm, try changing the root part’s cframe to the torso’s cframe and see if that works
I’ll try that tomorrow when I get on Studio.
1 Like
I don’t think that would work, since the humanoidrootpart is bound to the torso via a motor6d, and therefore the torso would just go forward as well.
I tried looking at the UpperTorso while the animation was playing, but the CFrame didn’t change