From 333cabed988465f035f000ee71525418ae440e4b Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Mon, 4 Jan 2021 21:36:38 +0100 Subject: [PATCH] Fix issue in testbed --- testbed/scenes/collisionshapes/CollisionShapesScene.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/testbed/scenes/collisionshapes/CollisionShapesScene.cpp b/testbed/scenes/collisionshapes/CollisionShapesScene.cpp index 0cc97c8e..5a5b92e4 100644 --- a/testbed/scenes/collisionshapes/CollisionShapesScene.cpp +++ b/testbed/scenes/collisionshapes/CollisionShapesScene.cpp @@ -107,9 +107,6 @@ CollisionShapesScene::CollisionShapesScene(const std::string& name, EngineSettin // Create a sphere and a corresponding rigid in the physics world Sphere* sphere = new Sphere(true, SPHERE_RADIUS, mPhysicsCommon, mPhysicsWorld, meshFolderPath); - // Add some rolling resistance - sphere->getCollider()->getMaterial().setRollingResistance(rp3d::decimal(0.08)); - // Set the box color sphere->setColor(mObjectColorDemo); sphere->setSleepingColor(mSleepingColorDemo); @@ -130,8 +127,6 @@ CollisionShapesScene::CollisionShapesScene(const std::string& name, EngineSettin Capsule* capsule = new Capsule(true, CAPSULE_RADIUS, CAPSULE_HEIGHT, mPhysicsCommon, mPhysicsWorld, meshFolderPath); - capsule->getCollider()->getMaterial().setRollingResistance(rp3d::decimal(0.08f)); - // Set the box color capsule->setColor(mObjectColorDemo); capsule->setSleepingColor(mSleepingColorDemo);