Skip to content

Commit

Permalink
Disable sleep on balls.
Browse files Browse the repository at this point in the history
They don't stick around for too long anyway, and it leads to some weird suspension sometimes.
  • Loading branch information
nanodeath committed Jul 9, 2024
1 parent 4f01fca commit f3adb41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clicky-clicker/ball.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ radius = 32.0

[node name="Ball" type="RigidBody2D"]
mass = 2.0
can_sleep = false

[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.5, 0.5)
Expand Down

0 comments on commit f3adb41

Please sign in to comment.