From 0f518727c28d3204415db14c7ca0e4f7cb653677 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Thu, 9 Dec 2021 00:52:59 +0100 Subject: working --- scenes/attach_point.tscn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 scenes/attach_point.tscn (limited to 'scenes/attach_point.tscn') 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 ) -- cgit v1.2.3-54-g00ecf