Browse Source

fix some collision stuff

opengl-renderer-broken
Martin Dørum 4 years ago
parent
commit
e03e9071b8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      libswan/src/traits/BodyTrait.cc

+ 1
- 1
libswan/src/traits/BodyTrait.cc View File

@@ -10,7 +10,7 @@
namespace Swan {
namespace BodyTrait {

static float epsilon = 0.0001;
static float epsilon = 0.001;

void PhysicsBody::friction(Vec2 coef) {
force_ += -vel_ * coef;

Loading…
Cancel
Save