#Difficulty with applying velocity to player
1 messages · Page 1 of 1 (latest)
a little tip, but you might want to change it so it checks if theres a humanoid, instead if its a model. unless you want the rare case of unanchored models falling onto the part and bouncing up.
as for the bounce itself, i recommend using a BodyVelocity, and giving it a upward velocity. Parent the BV to the part, and then destroy it a little bit later
Windows logo + shift + s for screen shot
I use discord mobile
Nahh Im good
little example of what i did for a double jump script. you can use the same velocity thingy, just amplified
It’s free
I will implement that after Im done with what Im doing
alright. hope it helps
(for better results with the removal of the force, put it into debris service.)
** You are now Level 1! **
if you want me to rewrite the function for you, i can do that
I tried it out and it seems a little “floaty” ig,
I want a more instant burst of velocity, sorta like a artificial jump
Amplify the launch, then make it destroy like, 0.05 seconds after.
Worked for me when i made a joke thing
Wait Let me try something
do you want something like this? (the launch but verticle)
Im trying something give me a second
alright
Is there some way to reset player velocity, for constancy?
umm.. i think so
Stupid gravity is getting in the way
you'll have to make another velocity, then make it selected velocity. 0,0,0 could just make them freeze in place.
But the instance would add on to the player’s velocity, not replace it
from what i remember, it overrides it
maybe, maybe not
cause with the double jump script i used it for, it really nullified the player's velocity in all directions but upwards
Weird
I’ll try it
i can send a video of it, helping another guy rn with checkpoints
Yeah I tried it but it didn’t work
alright.. give me a sec
I’ll send you a pic of my script
alright
Here
** You are now Level 5! **
YAY
@sly belfry ^
ohh,
** You are now Level 2! **
thats what your doing wrong
What?
your destroying the nil velocity too late before it can balance it out
also .1 is a bit x-treme for 10 million velocity
So how long should the “task.wait” be?
give me a sec ill send a vid of the double jump script i made as an example
Ik, its not changing when I increase the value tho
im slightly confused, because the image i provided was from this exact double jump script, i was holding movement keys the entirety of the 2nd jump
you can see all other velocity is nullified
Wow thats smooth
I gotta go I’ll continue talking tomorrow
which part exactly?
Its too late for me
I will chat more in the morning
oh alrighty
i can script this part for ya if you want and export it as a RBXM, you just gotta put it into studio and bam
Nahh I’d rather learn how to do this stuff myself
Thx anyways tho
Se you in the morning
got something like this to work (ignore everything in the background)