namespace Swan { | namespace Swan { | ||||
namespace BodyTrait { | namespace BodyTrait { | ||||
static float epsilon = 0.0001; | |||||
static float epsilon = 0.001; | |||||
void PhysicsBody::friction(Vec2 coef) { | void PhysicsBody::friction(Vec2 coef) { | ||||
force_ += -vel_ * coef; | force_ += -vel_ * coef; |