diff --git a/examples/tutorials/Tripod/details/step1.py b/examples/tutorials/Tripod/details/step1.py index a1e46ef5..7695ae83 100644 --- a/examples/tutorials/Tripod/details/step1.py +++ b/examples/tutorials/Tripod/details/step1.py @@ -42,7 +42,7 @@ def createScene(rootNode): position=scene.Modelling.loader.position.getLinkPath(), showObject=True, showObjectScale=5.0, rotation=[90.0, 0.0, 0.0]) - elasticbody.addObject('UniformMass') + elasticbody.addObject('UniformMass', totalMass='1.0') # Visual object visual = scene.Modelling.addChild('VisualModel') diff --git a/examples/tutorials/Tripod/myproject/step1.py b/examples/tutorials/Tripod/myproject/step1.py index a1e46ef5..7695ae83 100644 --- a/examples/tutorials/Tripod/myproject/step1.py +++ b/examples/tutorials/Tripod/myproject/step1.py @@ -42,7 +42,7 @@ def createScene(rootNode): position=scene.Modelling.loader.position.getLinkPath(), showObject=True, showObjectScale=5.0, rotation=[90.0, 0.0, 0.0]) - elasticbody.addObject('UniformMass') + elasticbody.addObject('UniformMass', totalMass='1.0') # Visual object visual = scene.Modelling.addChild('VisualModel')