Skip to content

Commit

Permalink
Merge pull request #51 from endlessm/fix-ball-decay
Browse files Browse the repository at this point in the history
Pong demo: Fix ball velocity decay
  • Loading branch information
manuq authored Jun 19, 2024
2 parents 985569a + c50cf78 commit 5747614
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pong_game/ball.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ continuous_cd = 1
max_contacts_reported = 1
contact_monitor = true
linear_velocity = Vector2(353.553, 353.553)
linear_damp_mode = 1
angular_damp_mode = 1
script = ExtResource("1_vdrab")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
Expand Down

0 comments on commit 5747614

Please sign in to comment.