Hi, im new to Box2d and I have been playing with a little prototype I have made.
But the player controlled box is able to "float" when im running against the side of a block. Instead of just allowing gravity to take place like in real life, it seems because I am applying a force horizontally, the friction is too high? Which makes the player vibrate and levitate against the side of an object for a few seconds. Im not sure how to fix this. Im thinking I need to set up my own contact function, which I saw a tutorial for, though im not sure what specifically needs to be done in order for it to be more realistic.
Any one?
Thanks
But the player controlled box is able to "float" when im running against the side of a block. Instead of just allowing gravity to take place like in real life, it seems because I am applying a force horizontally, the friction is too high? Which makes the player vibrate and levitate against the side of an object for a few seconds. Im not sure how to fix this. Im thinking I need to set up my own contact function, which I saw a tutorial for, though im not sure what specifically needs to be done in order for it to be more realistic.
Any one?
Thanks