This website works better with JavaScript.
Home
Explore
Help
Sign In
mort
/
project-swan
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fix some collision stuff
opengl-renderer-broken
Martin Dørum
4 years ago
parent
d6e70b49d5
commit
e03e9071b8
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
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.00
0
1;
static float epsilon = 0.001;
void PhysicsBody::friction(Vec2 coef) {
force_ += -vel_ * coef;
Write
Preview
Loading…
Cancel
Save