how would he do it before. he can’t just know in the past before they are about to press it
He would definitely know before they roll.
He could simply set their JumpPower before giving them the BodyVelocity.
Have you tried setting the max force on the y axis to 0 so you won’t float even if your on the air.
BodyVelocity.MaxForce = Vector3.new(1,0,1)*10^6
if they jump before they do it they are still in the air bud.
it is already set to 0 they still go midair when they jump obviously.
In this case, most of the time probably.
At that point, I would just anchor their PrimaryPart unless OP wants something else.
Well why don’t you just disable the roll ability when they are jumping and enable it again when they aren’t jumping? You could also lower the speed when they are jumping and increase it again when they aren’t jumping.
This did not work for me after trying .
also
@rottendogDkR I still want players to be able to roll midair. I just don’t want it to be faster
I think the reason that it is slower when not jumping prob due to friction
Also from the looks of it, when rolling on a floor you will intentionally have less speed due to friction and when in air your speed will increase so try changing the speed or make the max force and power of the body velocity higher
Is there anyway to ignore friction with my rolling so I can adjust it to where its always the same speed regardless of circumstance? e.g midair, in water, on ground
You could set the friction to 0 with custom properties in the baseplate but I dont actually know if friction is the cause here but its worth a try
Go to baseplate properties and go to custom properties and put it to true then set friction to 0
I would have to do that for every part in my game (it wont be a baseplate forever obviously)
also wouldn’t that affect other things?
set every part in the workspace to 0 friction then set it back after they roll?
I plan on having a very large map so thats probably not the best idea.
But did changing the friction work?
Theres no point in trying when that isn’t a viable option for me.
I know I just need to know the cause of the problem