From 8fed53f07f0c4e66d66ac443a80b9d80791460b4 Mon Sep 17 00:00:00 2001 From: Hugo Date: Tue, 30 Apr 2024 14:37:36 +0200 Subject: [PATCH] [examples] Fix unnecessary use of UncoupledCC (#118) --- examples/others/SphereOnAPlane/softSphereFalling.pyscn | 4 ---- examples/softRobots/multiGait/multiGait.py | 1 - 2 files changed, 5 deletions(-) diff --git a/examples/others/SphereOnAPlane/softSphereFalling.pyscn b/examples/others/SphereOnAPlane/softSphereFalling.pyscn index f265514..60a2507 100644 --- a/examples/others/SphereOnAPlane/softSphereFalling.pyscn +++ b/examples/others/SphereOnAPlane/softSphereFalling.pyscn @@ -112,9 +112,5 @@ def createScene(rootNode): planeNode.addObject('Mesh', src="@loader") planeNode.addObject('MechanicalObject', src="@loader", rotation="0 0 0", translation="0 0 0", scale="1") planeNode.addObject('TriangleCollisionModel',simulated="0", moving="0",group="1",name='TriPlane') - #planeNode.addObject('LineCollisionModel',simulated="0", moving="0",group="1") - #planeNode.addObject('PointCollisionModel',simulated="0", moving="0",group="1") - #planeNode.addObject('OglModel',name="Visual", fileMesh="mesh/floorFlat.obj", color="1 0 0 1",rotation=rotation, translation="0 0 0", scale="1") - planeNode.addObject('UncoupledConstraintCorrection') return rootNode diff --git a/examples/softRobots/multiGait/multiGait.py b/examples/softRobots/multiGait/multiGait.py index ce3e18f..334385b 100644 --- a/examples/softRobots/multiGait/multiGait.py +++ b/examples/softRobots/multiGait/multiGait.py @@ -174,6 +174,5 @@ def createScene(rootNode): planeNode.addObject('PointCollisionModel', simulated="0", moving="0", group="1") planeNode.addObject('OglModel', name="Visual", fileMesh="mesh/floorFlat.obj", color="1 0 0 1", rotation="90 0 0", translation="0 35 -1", scale="15") - planeNode.addObject('UncoupledConstraintCorrection') return rootNode