I’m trying to make my character push a box, but all the box is doing is sticking onto the character. I know why it’s doing it, I just don’t know how to fix it.
code:
if(this.hitTest(_root.char)){
_x += _root.xSpeed;
}else{
_x += 0;
}
Help is much appreciated