What velocity instance to use to create a dash/roll?

What bodymover/vector constraint should I use to create a dash effect for the player? Originally I’ve been using BodyVelocity, but I heard that LinearVelocity is a newer version of BodyVelocity that should be used. Also, does anyone have an explanation of how to use LinearVelocity? I can’t seem to make it work.

2 Likes

This might be useful for you.

And I think a VectorForce is what you’re looking for.
https://developer.roblox.com/en-us/api-reference/class/VectorForce
Hope these helps!

1 Like

Yeah, I tried using VectorForce, but for some reason it only works if the player is in the air or not in contact with the ground unless I’m doing something wrong.

1 Like

I assume you applied too less force, try making the MaxForce property inf and then give it a higher force like 5000 or even more.

1 Like

Vector Force doesn’t appear to have a MaxForce Property, also the behavior of VectorForce barely moving the player when they are on the ground still continues, even when I set the Force property to 10000+, any other ideas of what could be causing this?

2 Likes

You probably are not moving because the player is grounded and friction occurs. You can either make the character jump in the same action or apply some upward force.