#trying to add a forward boost system

17 messages · Page 1 of 1 (latest)

true sinew
#

I don't really understand what you want

#

Like you want a system so players can have jump boost ?

dawn trout
#

I essentially want the player to be thrown up, and forward, as if they pushed themself off an object

true sinew
dawn trout
#

The documentation for Linear Velocity I struggle with, do you have a brief example?

true sinew
#

Yes of course

#

Basically when you create a linear velocity, you can give it an attachment and a body force

So it will start from the attachment and create a vector from the attachment

#

So for example doing

local mov = Instance.new("LinearVelocity", hrpAttachment)
mov.Attachment0 = hrpAttachment
local FORCE = 30
mov.Force = hrp.LookVector * FORCE + Vector3.Y * FORCE
Debris:AddItem(1, mov)
dawn trout
#

Out of curiosity, what's the very bottom line?
Debris:AddItem(1, mov)

#

I believe I understand the rest, assuming that hrpAttachment is just a reference to the humanoid root part

true sinew
#

Cause hrp is a basepart

#

And mov.Attachment0 expect a part

true sinew
dawn trout
#

okay, im gonna try to apply the knowledge here, see what I can get

dawn trout
#

update, i havent made it anywhere