summaryrefslogtreecommitdiff
path: root/jail.tscn
blob: 000c0b0d821197f49cb911468670dcdcb9251805 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[gd_scene load_steps=8 format=2]

[ext_resource path="res://Jaula_gato_naro.png" type="Texture" id=1]
[ext_resource path="res://cat.gd" type="Script" id=2]

[sub_resource type="PlaneMesh" id=1]
size = Vector2( 2, 12 )

[sub_resource type="SpatialMaterial" id=2]
flags_transparent = true
flags_unshaded = true
albedo_texture = ExtResource( 1 )

[sub_resource type="PlaneMesh" id=4]
size = Vector2( 3, 3 )

[sub_resource type="SpatialMaterial" id=5]
flags_transparent = true

[sub_resource type="BoxShape" id=3]
extents = Vector3( 0.1, 10.75, 2 )

[node name="RigidBody" type="RigidBody"]
collision_layer = 4
collision_mask = 4
gravity_scale = 0.0
continuous_cd = true
can_sleep = false

[node name="Spatial" type="Spatial" parent="."]
transform = Transform( 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0 )

[node name="MeshInstance" type="MeshInstance" parent="Spatial"]
transform = Transform( 1.31134e-07, -1, 3.82137e-15, 4.37114e-08, 1.91069e-15, -1, 1, 1.31134e-07, 4.37114e-08, 0, 0, 0 )
sorting_offset = 5.0
mesh = SubResource( 1 )
material/0 = SubResource( 2 )

[node name="cat" type="MeshInstance" parent="Spatial"]
transform = Transform( 6.55671e-08, -0.5, 1.91069e-15, 2.18557e-08, 9.55342e-16, -0.5, 0.5, 6.55671e-08, 2.18557e-08, 0.430103, -5.52628, 0.0201625 )
mesh = SubResource( 4 )
skeleton = NodePath("../MeshInstance")
material/0 = SubResource( 5 )
script = ExtResource( 2 )

[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.665382, 0 )
shape = SubResource( 3 )