summaryrefslogtreecommitdiffstats
path: root/ship/cutting_board/cutting_board.tscn
diff options
context:
space:
mode:
authormikatomik <mikec_2007@hotmail.com>2022-10-10 07:52:55 -0400
committermikatomik <mikec_2007@hotmail.com>2022-10-10 07:52:55 -0400
commit8305cfc99914228d1f6f6b1f26fe87f2b7bdc2da (patch)
treef50d35a3fbc5a16e4abb0f8f461a9c0545339d04 /ship/cutting_board/cutting_board.tscn
parentd128dcf6ae1c7503c930a38c99a0a7dfc5ab4878 (diff)
downloadgame_jam49-8305cfc99914228d1f6f6b1f26fe87f2b7bdc2da.tar.gz
game_jam49-8305cfc99914228d1f6f6b1f26fe87f2b7bdc2da.zip
Import and configure cutting_board rigid body
Diffstat (limited to 'ship/cutting_board/cutting_board.tscn')
-rw-r--r--ship/cutting_board/cutting_board.tscn15
1 files changed, 15 insertions, 0 deletions
diff --git a/ship/cutting_board/cutting_board.tscn b/ship/cutting_board/cutting_board.tscn
new file mode 100644
index 0000000..b01ce3d
--- /dev/null
+++ b/ship/cutting_board/cutting_board.tscn
@@ -0,0 +1,15 @@
+[gd_scene load_steps=3 format=2]
+
+[ext_resource path="res://ship/cutting_board/cutting_board.gltf" type="PackedScene" id=1]
+
+[sub_resource type="ConvexPolygonShape" id=2]
+points = PoolVector3Array( 0.522516, 0.0410003, 0.462269, 0.522516, 0, 0.462269, 0.522516, 0.0410003, -0.462432, 0.504819, 0.0410003, 0.504812, 0.522516, 0, -0.462432, 0.504819, 0, 0.504812, 0.504819, 0.0410003, -0.504975, 0.462265, 0.0410003, 0.522516, 0.504819, 0, -0.504975, 0.462265, 0, 0.522516, 0.0337569, 0.0410003, -0.879494, -0.462367, 0.0410003, 0.522516, 0.0337569, 0, -0.879494, -0.462367, 0, 0.522516, -0.0338592, 0.0410003, -0.879494, -0.504921, 0.0410003, 0.504812, -0.0338592, 0, -0.879494, -0.504921, 0, 0.504812, -0.504921, 0.0410003, -0.504975, -0.522516, 0.0410003, 0.462269, -0.504921, 0, -0.504975, -0.522516, 0, 0.462269, -0.522516, 0.0410003, -0.462432, -0.522516, 0, -0.462432 )
+
+[node name="cutting_board" instance=ExtResource( 1 )]
+
+[node name="RigidBody" type="RigidBody" parent="." index="1"]
+collision_layer = 16
+collision_mask = 28
+
+[node name="CollisionShape" type="CollisionShape" parent="RigidBody" index="0"]
+shape = SubResource( 2 )