I use Box2d to play top down. "Earth" is a series of tiles, where each tile is a static body with the shape of a sensor. Can I make friction take effect for this, even if the objects do not really βcollideβ with the ground?
If Box2d does not allow me to do this, I decided to try to implement my own, discovering what force is currently moving the object and applying the force opposite to it, but I'm not quite sure how to detect this force.
physics box2d
Nick heiner
source share