Skip to content

Commit 5747614

Browse files
authored
Merge pull request #51 from endlessm/fix-ball-decay
Pong demo: Fix ball velocity decay
2 parents 985569a + c50cf78 commit 5747614

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pong_game/ball.tscn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ continuous_cd = 1
2020
max_contacts_reported = 1
2121
contact_monitor = true
2222
linear_velocity = Vector2(353.553, 353.553)
23+
linear_damp_mode = 1
24+
angular_damp_mode = 1
2325
script = ExtResource("1_vdrab")
2426

2527
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]

0 commit comments

Comments
 (0)