Activatable object implementation

This commit is contained in:
Segey Lapin
2019-07-26 15:21:42 +03:00
parent 790f4b43dd
commit 0f1655ac81
12 changed files with 2767 additions and 3 deletions

View File

@@ -0,0 +1,44 @@
[gd_scene load_steps=7 format=2]
[ext_resource path="res://furniture/master_desk.escn" type="PackedScene" id=1]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 1.81188, 0.0596142, 0.544892 )
[sub_resource type="BoxShape" id=2]
extents = Vector3( 1.81188, 0.320277, 0.116413 )
[sub_resource type="BoxShape" id=3]
extents = Vector3( 0.403768, 0.322363, 0.4876 )
[sub_resource type="BoxShape" id=4]
extents = Vector3( 0.403768, 0.322363, 0.4876 )
[sub_resource type="BoxShape" id=5]
extents = Vector3( 0.403768, 0.293233, 0.390124 )
[node name="master_desk_act" type="Spatial"]
[node name="master_desk" parent="." instance=ExtResource( 1 )]
[node name="StaticBody" type="StaticBody" parent="."]
[node name="CollisionShape" type="CollisionShape" parent="StaticBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.730425, 0 )
shape = SubResource( 1 )
[node name="CollisionShape2" type="CollisionShape" parent="StaticBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.333121, -0.424118 )
shape = SubResource( 2 )
[node name="CollisionShape3" type="CollisionShape" parent="StaticBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.40668, 0.338645, 0 )
shape = SubResource( 3 )
[node name="CollisionShape4" type="CollisionShape" parent="StaticBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.41319, 0.338645, 0 )
shape = SubResource( 4 )
[node name="CollisionShape5" type="CollisionShape" parent="StaticBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.516869, 1.10566, -0.0861624 )
shape = SubResource( 5 )