summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormikatomik <mikec_2007@hotmail.com>2022-09-12 06:56:30 -0400
committermikatomik <mikec_2007@hotmail.com>2022-09-15 01:42:11 -0400
commit53e8605d35774aac8a9fe6abe04f8e38b53f3866 (patch)
tree8d63156125a307a9f145eea7973ee1f2c13f7b57
parentc2b38eae03b49b0ad75fbfa152e1aa563758edfd (diff)
downloadgame_jam49-53e8605d35774aac8a9fe6abe04f8e38b53f3866.tar.gz
game_jam49-53e8605d35774aac8a9fe6abe04f8e38b53f3866.zip
Update FPS controller to play nice with rigid bodies
Infinite inertia set to false, the handle_collision func is now individually applying impulses to rigid bodies we collide with so we stop yeeting boxes off the ship just by bumping them or jumping on top of them.
-rw-r--r--character/fps_controller/fps_controller.gd15
-rw-r--r--maps/main_stage/stage.tscn300
2 files changed, 255 insertions, 60 deletions
diff --git a/character/fps_controller/fps_controller.gd b/character/fps_controller/fps_controller.gd
index c522e67..9c4e7c3 100644
--- a/character/fps_controller/fps_controller.gd
+++ b/character/fps_controller/fps_controller.gd
@@ -8,6 +8,7 @@ export var accel : float = 0.2
export var gravity : int = -1
export var term_velocity : int = -35
export var jump_strength : int = 20
+export var inertia : int = 5
var velocity : Vector3
@@ -28,6 +29,7 @@ func _process(_delta):
func _physics_process(_delta):
handle_movement()
handle_jumping()
+ handle_collision()
func get_input():
var dir : Vector3 = Vector3.ZERO
@@ -68,3 +70,16 @@ func _input(event):
func handle_jumping():
if Input.is_action_just_pressed("jump") and is_on_floor():
velocity.y = jump_strength
+
+func handle_collision():
+ for index in get_slide_count():
+ var collision = get_slide_collision(index)
+ var collider = collision.collider
+ if (collider.get_class() == "RigidBody"):
+ var col_force_vec = -collision.normal * inertia # rotate the force along collision normal
+ # collision pos
+ # > RigidBody.add_force(force, pos) > The position uses the rotation of the global coordinate system, but is centered at the object's origin.
+ # > KinematicCollision.position() > The point of collision, in global coordinates.
+ # So to add force at collision position, substract colliders pos from collision.position
+ var col_pos = collision.position - collider.transform.origin
+ collider.add_force(col_force_vec, col_pos)
diff --git a/maps/main_stage/stage.tscn b/maps/main_stage/stage.tscn
index f1701de..7d23212 100644
--- a/maps/main_stage/stage.tscn
+++ b/maps/main_stage/stage.tscn
@@ -500,6 +500,186 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.9944, 1.56126, -30.6788 )
[node name="crate160" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.04795, 1.56126, -30.6788 )
+[node name="crate521" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.56126, -32.6525 )
+
+[node name="crate522" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.03194, 1.56126, -32.6525 )
+
+[node name="crate523" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.07795, 1.56126, -32.6525 )
+
+[node name="crate524" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.9944, 1.56126, -32.6525 )
+
+[node name="crate525" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.04795, 1.56126, -32.6525 )
+
+[node name="crate526" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.56126, -34.6504 )
+
+[node name="crate527" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.03194, 1.56126, -34.6504 )
+
+[node name="crate528" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.07795, 1.56126, -34.6504 )
+
+[node name="crate529" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.9944, 1.56126, -34.6504 )
+
+[node name="crate530" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.04795, 1.56126, -34.6504 )
+
+[node name="crate531" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.57722, -32.6525 )
+
+[node name="crate532" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.03194, 3.57722, -32.6525 )
+
+[node name="crate533" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.07795, 3.57722, -32.6525 )
+
+[node name="crate534" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.9944, 3.57722, -32.6525 )
+
+[node name="crate535" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.04795, 3.57722, -32.6525 )
+
+[node name="crate536" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.57722, -34.6504 )
+
+[node name="crate537" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.03194, 3.57722, -34.6504 )
+
+[node name="crate538" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.07795, 3.57722, -34.6504 )
+
+[node name="crate539" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.9944, 3.57722, -34.6504 )
+
+[node name="crate540" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.04795, 3.57722, -34.6504 )
+
+[node name="crate541" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.5997, -32.6525 )
+
+[node name="crate542" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.03194, 5.5997, -32.6525 )
+
+[node name="crate543" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.07795, 5.5997, -32.6525 )
+
+[node name="crate544" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.9944, 5.5997, -32.6525 )
+
+[node name="crate545" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.04795, 5.5997, -32.6525 )
+
+[node name="crate546" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.5997, -34.6504 )
+
+[node name="crate547" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.03194, 5.5997, -34.6504 )
+
+[node name="crate548" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.07795, 5.5997, -34.6504 )
+
+[node name="crate549" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.9944, 5.5997, -34.6504 )
+
+[node name="crate550" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.04795, 5.5997, -34.6504 )
+
+[node name="crate551" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.518, 12.2382 )
+
+[node name="crate552" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.03194, 1.518, 12.2382 )
+
+[node name="crate553" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.07795, 1.518, 12.2382 )
+
+[node name="crate554" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.9944, 1.518, 12.2382 )
+
+[node name="crate555" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.04795, 1.518, 12.2382 )
+
+[node name="crate556" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.518, 10.2403 )
+
+[node name="crate557" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.03194, 1.518, 10.2403 )
+
+[node name="crate558" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.07795, 1.518, 10.2403 )
+
+[node name="crate559" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.9944, 1.518, 10.2403 )
+
+[node name="crate560" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.04795, 1.518, 10.2403 )
+
+[node name="crate561" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.5367, 12.2382 )
+
+[node name="crate562" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.03194, 3.5367, 12.2382 )
+
+[node name="crate563" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.07795, 3.5367, 12.2382 )
+
+[node name="crate564" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.9944, 3.5367, 12.2382 )
+
+[node name="crate565" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.04795, 3.5367, 12.2382 )
+
+[node name="crate566" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.5367, 10.2403 )
+
+[node name="crate567" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.03194, 3.5367, 10.2403 )
+
+[node name="crate568" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.07795, 3.5367, 10.2403 )
+
+[node name="crate569" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.9944, 3.5367, 10.2403 )
+
+[node name="crate570" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.04795, 3.5367, 10.2403 )
+
+[node name="crate571" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.55944, 12.2382 )
+
+[node name="crate572" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.03194, 5.55944, 12.2382 )
+
+[node name="crate573" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.07795, 5.55944, 12.2382 )
+
+[node name="crate574" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.9944, 5.55944, 12.2382 )
+
+[node name="crate575" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.04795, 5.55944, 12.2382 )
+
+[node name="crate576" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.55944, 10.2403 )
+
+[node name="crate577" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.03194, 5.55944, 10.2403 )
+
+[node name="crate578" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.07795, 5.55944, 10.2403 )
+
+[node name="crate579" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.9944, 5.55944, 10.2403 )
+
+[node name="crate580" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.04795, 5.55944, 10.2403 )
+
[node name="crate161" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.56126, 8.23821 )
@@ -615,184 +795,184 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.03194, 1.56126, 2.09212 )
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.07795, 1.56126, 2.09212 )
[node name="crate401" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, 0 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, 0 )
[node name="crate402" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, -2.03299 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, -2.03299 )
[node name="crate403" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, -4.0492 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, -4.0492 )
[node name="crate404" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, -6.1461 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, -6.1461 )
[node name="crate405" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, -8.15552 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, -8.15552 )
[node name="crate406" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, -10.1885 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, -10.1885 )
[node name="crate407" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, -12.2047 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, -12.2047 )
[node name="crate408" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, -14.3016 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, -14.3016 )
[node name="crate409" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, -16.3681 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, -16.3681 )
[node name="crate410" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, -18.4011 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, -18.4011 )
[node name="crate411" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, -20.4173 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, -20.4173 )
[node name="crate412" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, -22.5142 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, -22.5142 )
[node name="crate413" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, -24.5327 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, -24.5327 )
[node name="crate414" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, -26.5657 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, -26.5657 )
[node name="crate415" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, -28.5819 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, -28.5819 )
[node name="crate416" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, -30.6788 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, -30.6788 )
[node name="crate417" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, 8.23821 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, 8.23821 )
[node name="crate418" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, 6.20522 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, 6.20522 )
[node name="crate419" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, 4.18901 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, 4.18901 )
[node name="crate420" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 1.56126, 2.09212 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 1.56126, 2.09212 )
[node name="crate421" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, 0 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, 0 )
[node name="crate422" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, -2.03299 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, -2.03299 )
[node name="crate423" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, -4.0492 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, -4.0492 )
[node name="crate424" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, -6.1461 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, -6.1461 )
[node name="crate425" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, -8.15552 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, -8.15552 )
[node name="crate426" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, -10.1885 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, -10.1885 )
[node name="crate427" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, -12.2047 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, -12.2047 )
[node name="crate428" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, -14.3016 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, -14.3016 )
[node name="crate429" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, -16.3681 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, -16.3681 )
[node name="crate430" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, -18.4011 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, -18.4011 )
[node name="crate431" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, -20.4173 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, -20.4173 )
[node name="crate432" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, -22.5142 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, -22.5142 )
[node name="crate433" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, -24.5327 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, -24.5327 )
[node name="crate434" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, -26.5657 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, -26.5657 )
[node name="crate435" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, -28.5819 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, -28.5819 )
[node name="crate436" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, -30.6788 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, -30.6788 )
[node name="crate437" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, 8.23821 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, 8.23821 )
[node name="crate438" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, 6.20522 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, 6.20522 )
[node name="crate439" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, 4.18901 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, 4.18901 )
[node name="crate440" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 3.65945, 2.09212 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 3.65945, 2.09212 )
[node name="crate441" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, 0 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, 0 )
[node name="crate442" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, -2.03299 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, -2.03299 )
[node name="crate443" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, -4.0492 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, -4.0492 )
[node name="crate444" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, -6.1461 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, -6.1461 )
[node name="crate445" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, -8.15552 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, -8.15552 )
[node name="crate446" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, -10.1885 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, -10.1885 )
[node name="crate447" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, -12.2047 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, -12.2047 )
[node name="crate448" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, -14.3016 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, -14.3016 )
[node name="crate449" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, -16.3681 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, -16.3681 )
[node name="crate450" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, -18.4011 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, -18.4011 )
[node name="crate451" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, -20.4173 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, -20.4173 )
[node name="crate452" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, -22.5142 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, -22.5142 )
[node name="crate453" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, -24.5327 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, -24.5327 )
[node name="crate454" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, -26.5657 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, -26.5657 )
[node name="crate455" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, -28.5819 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, -28.5819 )
[node name="crate456" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, -30.6788 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, -30.6788 )
[node name="crate457" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, 8.23821 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, 8.23821 )
[node name="crate458" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, 6.20522 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, 6.20522 )
[node name="crate459" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, 4.18901 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, 4.18901 )
[node name="crate460" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35858, 5.65895, 2.09212 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.11794, 5.65895, 2.09212 )
[node name="crate461" parent="rigid_bodies/crates" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 6.07537, 5.65895, 0 )