aboutsummaryrefslogtreecommitdiff
path: root/scenes/attach_point.tscn
diff options
context:
space:
mode:
authorjacopograndi <jacopo.grandi@outlook.it>2021-12-09 00:52:59 +0100
committerjacopograndi <jacopo.grandi@outlook.it>2021-12-09 00:52:59 +0100
commit0f518727c28d3204415db14c7ca0e4f7cb653677 (patch)
treea595121771b69a52f17154d8e5c61b7e4b2b8190 /scenes/attach_point.tscn
working
Diffstat (limited to 'scenes/attach_point.tscn')
-rw-r--r--scenes/attach_point.tscn17
1 files changed, 17 insertions, 0 deletions
diff --git a/scenes/attach_point.tscn b/scenes/attach_point.tscn
new file mode 100644
index 0000000..ef5434e
--- /dev/null
+++ b/scenes/attach_point.tscn
@@ -0,0 +1,17 @@
+[gd_scene load_steps=3 format=2]
+
+[ext_resource path="res://models/attach.obj" type="ArrayMesh" id=1]
+
+[sub_resource type="ConvexPolygonShape" id=10]
+points = PoolVector3Array( 0, 0, -0.2, -0.0390368, 0, -0.196163, 0, 0.022124, -0.2, 0.0389977, 0, -0.196163, -0.0390368, 0.022124, -0.196163, -0.0765466, 0, -0.184808, 0.0389977, 0.022124, -0.196163, 0.0765074, 0, -0.184808, -0.0765466, 0.022124, -0.184808, -0.11112, 0, -0.166327, 0.0765074, 0.022124, -0.184808, 0.111081, 0, -0.166327, -0.11112, 0.022124, -0.166327, -0.141425, 0, -0.141425, 0.111081, 0.022124, -0.166327, 0.141386, 0, -0.141425, -0.141425, 0.022124, -0.141425, -0.166327, 0, -0.11112, 0.141386, 0.022124, -0.141425, 0.166288, 0, -0.11112, -0.166327, 0.022124, -0.11112, -0.184808, 0, -0.0765466, 0.166288, 0.022124, -0.11112, 0.184769, 0, -0.0765466, -0.184808, 0.022124, -0.0765466, -0.196163, 0, -0.0390368, 0.184769, 0.022124, -0.0765466, 0.196124, 0, -0.0390368, -0.196163, 0.022124, -0.0390368, -0.2, 0, 0, 0.196124, 0.022124, -0.0390368, 0.2, 0, 0, -0.2, 0.022124, 0, -0.196163, 0, 0.0389977, 0.2, 0.022124, 0, 0.196124, 0, 0.0389977, -0.196163, 0.022124, 0.0389977, -0.184808, 0, 0.0765074, 0.196124, 0.022124, 0.0389977, 0.184769, 0, 0.0765074, -0.184808, 0.022124, 0.0765074, -0.166327, 0, 0.111081, 0.184769, 0.022124, 0.0765074, 0.166288, 0, 0.111081, -0.166327, 0.022124, 0.111081, -0.141425, 0, 0.141386, 0.166288, 0.022124, 0.111081, 0.141386, 0, 0.141386, -0.141425, 0.022124, 0.141386, -0.11112, 0, 0.166288, 0.141386, 0.022124, 0.141386, 0.111081, 0, 0.166288, -0.11112, 0.022124, 0.166288, -0.0765466, 0, 0.184769, 0.111081, 0.022124, 0.166288, 0.0765074, 0, 0.184769, -0.0765466, 0.022124, 0.184769, -0.0390368, 0, 0.196124, 0.0765074, 0.022124, 0.184769, 0.0389977, 0, 0.196124, -0.0390368, 0.022124, 0.196124, 0, 0, 0.2, 0.0389977, 0.022124, 0.196124, 0, 0.022124, 0.2 )
+
+[node name="attachPoint" type="MeshInstance" groups=["attach"]]
+transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, -0.25, 0.25, 0.5 )
+mesh = ExtResource( 1 )
+skeleton = NodePath("")
+material/0 = null
+
+[node name="StaticBody" type="StaticBody" parent="."]
+
+[node name="CollisionShape2" type="CollisionShape" parent="StaticBody"]
+shape = SubResource( 10 )