1 decade ago by Rungo73
Hi
I have two entities - player and ladder.
I'm using check() to determine if player has touched the ladder.
Inside I'm setting a Boolean (onLadder) to true.
I can't seem to get it to set to false when the player moves away
from ladder.
I tried an if/else inside the check function but to no avail?
Any suggestions, most appreciated.
I have two entities - player and ladder.
I'm using check() to determine if player has touched the ladder.
Inside I'm setting a Boolean (onLadder) to true.
I can't seem to get it to set to false when the player moves away
from ladder.
I tried an if/else inside the check function but to no avail?
Any suggestions, most appreciated.