#dash not activating properly

1 messages · Page 1 of 1 (latest)

ivory kindle
#

hello, i'm currently in the process of making a character controller. i have a player that can jump, run and dash, and he is not allowed to dash if in the air. when i jump and press dash while holding w or s, it doesn't dash, so as expected, but when i press a or d, it dashes in the air. why do you think that happens? i can't figure it out

lucid dirge
#

I'm not sure but try changing is_on_floor to is_on_floor() in the dash() function

#

because i think it's wrong

#

not sure why it would still not dash when holding w or s

ivory kindle
#

oh damn yeah stupid mistake, but then it'ss weird it worked on 1 axis