#Can I speak with u in your dm s so that

1 messages · Page 1 of 1 (latest)

kindred leaf
#

Theres a thread

small oyster
#

this?

kindred leaf
#

ayye

#

yes

small oyster
#

ok

#

So

kindred leaf
#

everyone can see it and jump in if they want

#

but its not cluttered like main chat

small oyster
#

ok

#

I see

kindred leaf
#

ok soo u want reverse of what ur doing i think

#

or thats the way id do it

small oyster
kindred leaf
#

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

small oyster
#

I want that the movement is deactivated when the player !isGrounded

kindred leaf
#

exactly

#

thats ur code in the Movement() function

#

thats where u'll use if(isGrounded == true)

small oyster
#

boy this is complicated for me

kindred leaf
#

ok look ur groundcheck

small oyster
#

yes

kindred leaf
#

u should actually run the groundcheck first

small oyster
#

ok

kindred leaf
#

GroundCheck();
Movement();

small oyster
#

yes ok

kindred leaf
#

ok so ur groundcheck will only do one thing

small oyster
#

ok

kindred leaf
#

thats al uneed in that function

#

so when that runs it'll flip that bool to what i needs to be

small oyster
#

ok

kindred leaf
#

so the next thing that runs is ur movement function

#

u have that bool ready to use

#

so u use in the movement

small oyster
#

ok

kindred leaf
#
if(isGrounded == true){



all ur movement code



}```
small oyster
#

ok

#

oh I see now

kindred leaf
#
else{


// do nothing


}
small oyster
#

maaaaaan thanks

kindred leaf
#

👍

#

u'll get there.. just keep on keeping on

small oyster
#

ok thanks a lot bro

kindred leaf
#

np

#

gud luck