32 lines
1017 B
Plaintext
32 lines
1017 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://scripts/bed.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="CubeMesh" id=2]
|
|
size = Vector3( 1.7, 0.5, 1 )
|
|
|
|
[sub_resource type="BoxShape" id=1]
|
|
extents = Vector3( 0.85, 2, 0.5 )
|
|
|
|
[node name="bed" type="Area"]
|
|
collision_layer = 8
|
|
collision_mask = 4
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0 )
|
|
mesh = SubResource( 2 )
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticBody"]
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="hop_position" type="Position3D" parent="." groups=["bed_hop_position"]]
|
|
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0.919234 )
|