Commits

German Larrain committed 06c0ed7

demos.FallingBall: changed sphere creation arguments

Comments (0)

Files changed (1)

demos/FallingBall.py

 class FallingBall(Program):
 
 	def create_sim_objects(self):
-		# radius, center, density
-		self.sim.add_sphere(0.5, (1, 10, 1), density=1)
+		# radius, center, mass
+		self.sim.add_sphere(0.5, (2, 3, 2), mass=1)