Fix colliders of torch and fence

This commit is contained in:
karl committed 2020-02-02 13:00:46 +01:00
1 parent de6f912981
commit 1538b665e3
3 files changed
+15 -5

No files matched your search

+2 -1
View File
@@ -4,7 +4,7 @@
[ext_resource path="res://Ingame/Level/Wood.tres" type="Material" id=2]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.537798, 6.09865, 12.5193 )
extents = Vector3( 0.537798, 23, 12.5193 )
[node name="Fence" instance=ExtResource( 1 )]
@@ -24,6 +24,7 @@ material/0 = ExtResource( 2 )
material/0 = ExtResource( 2 )
[node name="StaticBody" type="StaticBody" parent="." index="5"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 16, 0 )
[node name="CollisionShape" type="CollisionShape" parent="StaticBody" index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6.12366, -0.572572 )
+10 -1
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=8 format=2]
[gd_scene load_steps=9 format=2]
[ext_resource path="res://3D Input/torch.glb" type="PackedScene" id=1]
[ext_resource path="res://Ingame/Level/Wood.tres" type="Material" id=2]
@@ -19,6 +19,9 @@ normal_enabled = true
normal_scale = 1.0
normal_texture = ExtResource( 6 )
[sub_resource type="BoxShape" id=2]
extents = Vector3( 0.226179, 3.74534, 0.250637 )
[node name="Torch" instance=ExtResource( 1 )]
[node name="Cube" parent="." index="0"]
@@ -34,3 +37,9 @@ shadow_enabled = true
omni_range = 87.1226
[node name="Smoke" parent="." index="2" instance=ExtResource( 3 )]
[node name="StaticBody" type="StaticBody" parent="." index="3"]
[node name="CollisionShape" type="CollisionShape" parent="StaticBody" index="0"]
transform = Transform( 0.99774, -0.0671969, 0, 0.0671969, 0.99774, 0, 0, 0, 1, -0.404917, 3.92084, 0 )
shape = SubResource( 2 )