_
This commit is contained in:
parent
2cd4b781fb
commit
009e23ea7f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user