Fix Meldewesen visibility cone issues

This commit is contained in:
karl 2020-01-28 16:42:04 +01:00
parent c52cb0b885
commit edea7fc8b4
4 changed files with 70 additions and 63 deletions

File diff suppressed because one or more lines are too long

View File

@ -21,4 +21,4 @@ func _process(delta: float) -> void:
if potential_new_scale < new_scale: if potential_new_scale < new_scale:
new_scale = potential_new_scale new_scale = potential_new_scale
scale = Vector3(new_scale, new_scale, new_scale) scale = Vector3(new_scale, 1.0, new_scale)

View File

@ -71,7 +71,6 @@ material/1 = null
[node name="Real" type="MeshInstance" parent="."] [node name="Real" type="MeshInstance" parent="."]
transform = Transform( 13.5, 0, 0, 0, 9, 0, 0, 0, 10.3223, 0, 7.80828, 0 ) transform = Transform( 13.5, 0, 0, 0, 9, 0, 0, 0, 10.3223, 0, 7.80828, 0 )
visible = false
layers = 2 layers = 2
material_override = SubResource( 2 ) material_override = SubResource( 2 )
mesh = SubResource( 3 ) mesh = SubResource( 3 )
@ -82,6 +81,8 @@ transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 6.45523
[node name="StaticBody" type="StaticBody" parent="."] [node name="StaticBody" type="StaticBody" parent="."]
transform = Transform( 13.5, 0, 0, 0, 9, 0, 0, 0, 10.3223, 0, 7.80828, 0 ) transform = Transform( 13.5, 0, 0, 0, 9, 0, 0, 0, 10.3223, 0, 7.80828, 0 )
collision_layer = 3
collision_mask = 3
[node name="CollisionShape" type="CollisionShape" parent="StaticBody"] [node name="CollisionShape" type="CollisionShape" parent="StaticBody"]
shape = SubResource( 4 ) shape = SubResource( 4 )

File diff suppressed because one or more lines are too long