fix glitched beachball

This commit is contained in:
Spencer Killen 2023-08-20 16:31:27 -06:00
parent 5f36024e8f
commit 9712819295
Signed by: sjkillen
GPG Key ID: F307025B65C860BA
2 changed files with 1 additions and 2 deletions

View File

@ -484,7 +484,6 @@ shape = SubResource("BoxShape3D_um2bu")
[node name="Crate" parent="." instance=ExtResource("28_x0lrj")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 2.44712, -1)
mass = 0.01
[node name="Crate3" parent="." instance=ExtResource("28_x0lrj")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.75088, 2.39766, -4.28161)

View File

@ -110,7 +110,7 @@ func _physics_process(delta):
move_and_slide()
var push = 0.01
var push = 0.1
# after calling move_and_slide()
for index in get_slide_collision_count():
var c = get_slide_collision(index)