This commit is contained in:
Benjamín 2021-09-03 06:48:07 +02:00
parent 2cd4b781fb
commit 009e23ea7f
2 changed files with 2 additions and 2 deletions

@ -35,7 +35,7 @@ class Rope:
if self.a.locked is False:
self.a.position = center - connection_vector
def __init__(self, position, length, nodes_n, nodes_r, rope_width, scene, gravity=1, start_angle=1,
def __init__(self, position, length, nodes_n, nodes_r, rope_width, scene, gravity=2, start_angle=1,
balance_amount=20, node_color=(255, 100, 100), rope_color=(255, 160, 160)):
self.position = position
self.length = length

@ -13,7 +13,7 @@ class RopeScene(Scene):
super().__init__(s__size[0], s__size[1], scene_size, bg)
r0 = Rope(a([300, 50]), 200, 40, 2, 2, self, gravity=2)
r0 = Rope(a([300, 50]), 200, 40, 2, 2, self)
self.nrd_objects.append(r0)
rd0 = RopeInteractiveDot(a([100, 100]), 10, (100, 255, 100), 20, 100, self)