From 831b0ebbb606d2685bcd26ad1f1f3127155862d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20F=C3=BCndgens?= Date: Fri, 19 Dec 2014 15:20:49 +0100 Subject: [PATCH] Tweaked ball physics. --- physics.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/physics.cc b/physics.cc index 86bb33e..448a438 100644 --- a/physics.cc +++ b/physics.cc @@ -120,11 +120,11 @@ void Physics::addPlayer(float rad, Entity entity, float mass, unsigned indice) btRigidBody::btRigidBodyConstructionInfo info(mass,motion,sphere,inertia); - info.m_friction = 5; + info.m_friction = 0.9; playerBall = new btRigidBody(info); - playerBall->setDamping(0.1f,0.3f); + playerBall->setDamping(0.1f,0.7f); world->addRigidBody(playerBall);