How do you manually slide a player's character a set distance?

I know I should be using a BodyMover, but I’m new to manipulating physics and can’t get any of them to work the way I want them to. I am trying to give players the ability to roll to the left and right. Players’ characters are forced to look to where the camera is looking, much like shift-lock, so rolling allows players to strafe while looking forward. I can program everything BUT the actual moving of the character. How could I make a character slide to the right by say, 5 studs, in a second?

I have tried using a BodyForce and moving them to the PrimaryPart position + it’s RightVector * 5, however I really dislike the increasing/dampening speeds. It’s supposed to be a constant speed until the action is stopped. I then tried using both BodyVelocities and BodyPositions and those both worked the best, however, there’s a big issue I have run into with these objects. BodyVelocities and BodyPositions both move players faster if you are looking diagonal to the baseplate, and barely move you an inch if you are looking parallel to the baseplate. It’s gotta be the difference between Vector3.new(1, 0, 0) and Vector3.new(1, 0, 1). If the distance covered didn’t change depending on where you looked, this would have worked perfectly.

I’ve found people asking the same question on both the devforum and scripthelpers, though the answers are all “use a BodyMover”, or telling the OP how to use the UserInputService. Must I use a BodyMover, and if so, how can I utilize one to apply a constant force in order to slide a character a few studs in any direction, in a set amount of time?

Kind of a very late response, but you could set the velocity of the BodyVelocity to the RightVector of the player’s CFrame. To get the LeftVector (which does not normally exist) You can just use the negative of the RightVector. Then you can multiply this Vector3 by an amount to get a higher velocity.

Woah that was 2 years ago okay

And now I am replying to something that is currently 2 years ago :>

And now I am replying to something that is currently 13h ago :>