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);