#Can I speak with u in your dm s so that
1 messages · Page 1 of 1 (latest)
this?
ok so no not really
u dont want the if inside hte gruond check
so the ground check has 1 job and 1 job only
to flip that bool on and off
u then use that bool in ur movement function
I want that the movement is deactivated when the player !isGrounded
exactly
thats ur code in the Movement() function
thats where u'll use if(isGrounded == true)
boy this is complicated for me
ok look ur groundcheck
yes
ok
GroundCheck();
Movement();
yes ok
ok so ur groundcheck will only do one thing
ok
thats al uneed in that function
so when that runs it'll flip that bool to what i needs to be
ok
so the next thing that runs is ur movement function
u have that bool ready to use
so u use in the movement
ok
if(isGrounded == true){
all ur movement code
}```
else{
// do nothing
}
maaaaaan thanks
ok thanks a lot bro