fix glitched beachball
This commit is contained in:
parent
5f36024e8f
commit
9712819295
|
@ -484,7 +484,6 @@ shape = SubResource("BoxShape3D_um2bu")
|
||||||
|
|
||||||
[node name="Crate" parent="." instance=ExtResource("28_x0lrj")]
|
[node name="Crate" parent="." instance=ExtResource("28_x0lrj")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 2.44712, -1)
|
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")]
|
[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)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.75088, 2.39766, -4.28161)
|
||||||
|
|
|
@ -110,7 +110,7 @@ func _physics_process(delta):
|
||||||
|
|
||||||
move_and_slide()
|
move_and_slide()
|
||||||
|
|
||||||
var push = 0.01
|
var push = 0.1
|
||||||
# after calling move_and_slide()
|
# after calling move_and_slide()
|
||||||
for index in get_slide_collision_count():
|
for index in get_slide_collision_count():
|
||||||
var c = get_slide_collision(index)
|
var c = get_slide_collision(index)
|
||||||
|
|
Loading…
Reference in New Issue