2024-05-07 18:49:04 +02:00
|
|
|
[gd_scene load_steps=8 format=2]
|
2024-01-04 16:41:26 +01:00
|
|
|
|
|
|
|
[ext_resource path="res://assets/KenneySurvivalKit/Models/workbench.glb" type="PackedScene" id=1]
|
|
|
|
[ext_resource path="res://entities/Workbench.cs" type="Script" id=2]
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape" id=1]
|
|
|
|
extents = Vector3( 0.19, 0.19, 0.33 )
|
|
|
|
|
|
|
|
[sub_resource type="CubeMesh" id=2]
|
|
|
|
size = Vector3( 0.38, 0.38, 0.66 )
|
|
|
|
|
|
|
|
[sub_resource type="SpatialMaterial" id=3]
|
|
|
|
flags_transparent = true
|
|
|
|
albedo_color = Color( 0.380392, 0.145098, 0.145098, 0.501961 )
|
|
|
|
|
2024-05-07 18:49:04 +02:00
|
|
|
[sub_resource type="CubeMesh" id=4]
|
|
|
|
|
|
|
|
[sub_resource type="PrismMesh" id=5]
|
|
|
|
|
2024-01-04 16:41:26 +01:00
|
|
|
[node name="Workbench" type="KinematicBody"]
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
|
|
|
|
[node name="Geometry" parent="." instance=ExtResource( 1 )]
|
|
|
|
transform = Transform( 2.26249, 0, -1.06354, 0, 2.5, 0, 1.06354, 0, 2.26249, 0, 0, 0 )
|
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
|
|
|
transform = Transform( -1.29904, 0, 0.5, 0, 1.5, 0, -0.749999, 0, -0.866026, 0, 0.240716, 0 )
|
|
|
|
shape = SubResource( 1 )
|
|
|
|
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="CollisionShape" groups=["PhysicsGeometry"]]
|
2024-05-07 18:49:04 +02:00
|
|
|
visible = false
|
2024-01-04 16:41:26 +01:00
|
|
|
mesh = SubResource( 2 )
|
|
|
|
material/0 = SubResource( 3 )
|
2024-05-07 18:49:04 +02:00
|
|
|
|
|
|
|
[node name="MountPoint" type="Spatial" parent="."]
|
|
|
|
transform = Transform( -0.861434, 0, 0.507869, 0, 1, 0, -0.507869, 0, -0.861434, -0.429363, 0, 0.763898 )
|
|
|
|
|
|
|
|
[node name="Arrow" type="Spatial" parent="MountPoint"]
|
|
|
|
transform = Transform( -1, 0, -8.74227e-08, 0, 1, 0, 8.74227e-08, 0, -1, 2.38419e-07, 0, 0 )
|
|
|
|
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="MountPoint/Arrow"]
|
|
|
|
transform = Transform( -0.1, 0, -1.24676e-08, 0, 0.1, 0, 1.24676e-08, 0, -0.1, 0, 0, 0.0394838 )
|
|
|
|
mesh = SubResource( 4 )
|
|
|
|
skeleton = NodePath("../..")
|
|
|
|
|
|
|
|
[node name="MeshInstance2" type="MeshInstance" parent="MountPoint/Arrow"]
|
|
|
|
transform = Transform( -0.1, -1.24676e-08, 6.04182e-16, 0, -4.37114e-09, -0.1, 1.24676e-08, -0.1, 4.37114e-09, 0, 0, -0.151838 )
|
|
|
|
mesh = SubResource( 5 )
|
|
|
|
skeleton = NodePath("../..")
|
|
|
|
|
|
|
|
[editable path="Geometry"]
|