Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to propel a player forward?

Probably has a really simple answer, but how do you make blocks propel someone forward? Not like a booster that increases their walk speed but a brick that pushes the player into any direction, in this case forward. Tried to find something on this, though no results.

5 comments

0

Search BodyMovers.

0

Velocity/BodyMovers where the vector is LookVector * Amplifier

0

You'll probably need to use a physics solver for the most basic solution to this. https://developer.roblox.com/api-reference/class/VectorForce

0

thanks

0

I recommend using BodyPosition.

1 answer

Basically. you would have to use "Roblox Physics" to propel are make a little dash to your self

you would add body velocity with an Instance.new

then set its MaxForce value to Vector3.new(math.huge,math.huge,math.huge)

then its velocity to it by multiplying the "Lookvector" of the humanoid root part I think like this

HumanoidRootPart.CFrame.LookVector * 50 -- the higher the number the faster you will fly I think.

and those are basic rules to help accomplish you task of dashing (or) propelling your self at a certain force, forward.

Remember: Body Velocity Travels at A "Constant Velocity" So it basically always stays the same!

--T40

This discussion is preserved as it was. New answers, comments, and votes are closed.