random ball linear velocity

This commit is contained in:
2024-03-15 09:47:15 +01:00
parent 7c6b8ca4c1
commit 6bfac4e8d6
5 changed files with 19 additions and 35 deletions
+4
View File
@@ -15,6 +15,8 @@ gravity_scale = 1.66533e-16
can_sleep = false
lock_rotation = true
freeze_mode = 1
max_contacts_reported = 10
contact_monitor = true
linear_damp_mode = 1
script = ExtResource("1_vsr7q")
@@ -25,3 +27,5 @@ offset_bottom = 40.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(20, 20)
shape = SubResource("RectangleShape2D_bdxrg")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]