I made a script that allows a player to slide infinitely in a single direction by loop setting a BodyPosition’s Position to in front of the player. Doing this, I also set the player’s Humanoid.AutoRotate to false to prevent them from changing direction. With this, though, while the player is sliding, their whole body very slowly begins to rotate as if it is being turned by a force. I tried setting both the player’s Torso and HRP’s AssemblyAngularVelocity as well as their RotVelocity to 0 but they still continue to turn. A friend had the idea of making some kind of counter turn force, but since the turning of the character is inconsistent, it wouldn’t really work. Anyone got any ideas?
1 Like
Although not the best method, have you tried loop setting the orientation to the orientation at the beginning of the slide?
I mean, it works? No complaints here.