Maybe you can add max step height also, because now you get stuck when something is 1 cm higher
soldierrob
bro ur literally the goat. It works great.
IMPORTANT TIP FOR EVERYONE: After Importing the folder into your unity project, go to edit, and then project settings and then go to input manager and then change the size of axes from the default amount to 2 more. This will create two more options you can customize. Name the first one Sprint and beside the "Positive Button" enter which you you want your sprint to be (left shift). And for the other one, Name it Crouch and beside the "Positive Button" enter which key you want your crouch to be (left ctrl). Good Luck Ya'll👍
manudles
I have never bean more in love with a movement script
OurVala
Wow dude... you're doing gods work, thank you so much for this !
onix
POV: You're Scout from the online video game Team Fortress 2 released on October 10th, 2007, by Valve Software
Illijah
YESSS, Finally my game feels good
Thanks man for this amazing script
freebyte
Thank you for existing you saved me so much pain
starrvalorant
i actually fucking love you out of all the movement codes ive tried yours is the most accurate
BBBhop
thank you, you're a smart cookie!
yesno-zs
Thank god, I can make schedule one have source movement now
scrumpieYTP
Dude i love when they say to add input methods for crouch and sprint AND THEN NEVER SAY HOW
fbeGgxzB
aye you know of how would one add a variable to the surf character script that check's if the player is moving ( *not by checking if the keys are pressed, but by checking velocities and etc.* ), thanks for all of this btw this is awesome work.
SkyIsTumbling
I've made something similar to this but this is just perfect. Thank you for sharing this <3
youz
How exactly can I add sounds to walking, crouching, swimming and jumping? I am kind of stuck on it.
Coolkidstan
I have downlaoded the github folder, put it into unity, and put the example into the scene, but the player doesnt move?
HoisinDuckWrap
i tried putting it in my project but couldn't get the inputs to work, using unity 2021.3.14f1
LucidCobalt
Could you share the .unity file or the whole game folder from this video?
hitzkopf
Testing it out 5 years later and it works somewhat
Crouching seems to be entirely broken
Beanibirb
I'm really late but is there any way I can add movement sound effects? I'm struggling because I'm not sure how to reference the sounds with the SurfController being derived on MonoBehaviour.
sebastian_plays
I'm having trouble getting up steps. I turned on step offset and I successfully climbed 1 step. However, if I try to climb it again, it won't let me and I have to jump over. Is there any way to walk up and down stairs efficiently? Thanks.