139 lines
3.8 KiB
Text
139 lines
3.8 KiB
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://portail.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="CubeMesh" id=1]
|
|
|
|
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
|
|
size = Vector3( 2, 2, 2 )
|
|
subdivide_width = 0
|
|
subdivide_height = 0
|
|
subdivide_depth = 0
|
|
|
|
[sub_resource type="SpatialMaterial" id=2]
|
|
|
|
render_priority = 0
|
|
flags_transparent = false
|
|
flags_unshaded = false
|
|
flags_vertex_lighting = false
|
|
flags_no_depth_test = false
|
|
flags_use_point_size = false
|
|
flags_world_triplanar = false
|
|
flags_fixed_size = false
|
|
flags_albedo_tex_force_srgb = false
|
|
vertex_color_use_as_albedo = false
|
|
vertex_color_is_srgb = false
|
|
params_diffuse_mode = 0
|
|
params_specular_mode = 0
|
|
params_blend_mode = 0
|
|
params_cull_mode = 0
|
|
params_depth_draw_mode = 0
|
|
params_line_width = 1.0
|
|
params_point_size = 1.0
|
|
params_billboard_mode = 0
|
|
params_grow = false
|
|
params_use_alpha_scissor = false
|
|
albedo_color = Color( 0.589844, 0.589844, 0.589844, 1 )
|
|
metallic = 1.0
|
|
metallic_specular = 0.5
|
|
metallic_texture_channel = 0
|
|
roughness = 0.2
|
|
roughness_texture_channel = 0
|
|
emission_enabled = false
|
|
normal_enabled = false
|
|
rim_enabled = false
|
|
clearcoat_enabled = false
|
|
anisotropy_enabled = false
|
|
ao_enabled = false
|
|
depth_enabled = false
|
|
subsurf_scatter_enabled = false
|
|
transmission_enabled = false
|
|
refraction_enabled = false
|
|
detail_enabled = false
|
|
uv1_scale = Vector3( 1, 1, 1 )
|
|
uv1_offset = Vector3( 0, 0, 0 )
|
|
uv1_triplanar = false
|
|
uv1_triplanar_sharpness = 1.0
|
|
uv2_scale = Vector3( 1, 1, 1 )
|
|
uv2_offset = Vector3( 0, 0, 0 )
|
|
uv2_triplanar = false
|
|
uv2_triplanar_sharpness = 1.0
|
|
proximity_fade_enable = false
|
|
distance_fade_enable = false
|
|
_sections_unfolded = [ "Albedo", "Metallic", "Roughness" ]
|
|
|
|
[sub_resource type="ConvexPolygonShape" id=3]
|
|
|
|
points = PoolVector3Array( -1, 1, 1, 1, 1, -1, 1, 1, 1, -1, 1, -1, -1, -1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, -1, 1, 1, -1, -1, 1, 1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, 1, -1, 1, 1, 1, -1, 1, 1, 1, -1, -1, -1, -1, -1, 1, -1, 1, -1, -1 )
|
|
|
|
[node name="portail" type="Spatial"]
|
|
|
|
script = ExtResource( 1 )
|
|
scene_path = ""
|
|
start_position_path = "start_position"
|
|
|
|
[node name="mesh_instance" type="MeshInstance" parent="." index="0"]
|
|
|
|
transform = Transform( 1.86317, 0, 0, 0, 2.71355, 0, 0, 0, 0.105108, 0, 2.64718, 0 )
|
|
layers = 1
|
|
material_override = null
|
|
cast_shadow = 1
|
|
extra_cull_margin = 0.0
|
|
use_in_baked_light = true
|
|
lod_min_distance = 0.0
|
|
lod_min_hysteresis = 0.0
|
|
lod_max_distance = 0.0
|
|
lod_max_hysteresis = 0.0
|
|
mesh = SubResource( 1 )
|
|
skeleton = NodePath("..")
|
|
material/0 = SubResource( 2 )
|
|
_sections_unfolded = [ "Geometry", "material" ]
|
|
|
|
[node name="static_body" type="StaticBody" parent="mesh_instance" index="0"]
|
|
|
|
input_ray_pickable = true
|
|
input_capture_on_drag = false
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
friction = 1.0
|
|
bounce = 0.0
|
|
constant_linear_velocity = Vector3( 0, 0, 0 )
|
|
constant_angular_velocity = Vector3( 0, 0, 0 )
|
|
|
|
[node name="collision_shape" type="CollisionShape" parent="mesh_instance/static_body" index="0"]
|
|
|
|
shape = SubResource( 3 )
|
|
disabled = false
|
|
|
|
[node name="area" type="Area" parent="mesh_instance" index="1"]
|
|
|
|
input_ray_pickable = false
|
|
input_capture_on_drag = false
|
|
space_override = 0
|
|
gravity_point = false
|
|
gravity_distance_scale = 0.0
|
|
gravity_vec = Vector3( 0, -1, 0 )
|
|
gravity = 9.8
|
|
linear_damp = 0.1
|
|
angular_damp = 1.0
|
|
priority = 0.0
|
|
monitoring = true
|
|
monitorable = true
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
audio_bus_override = false
|
|
audio_bus_name = "Master"
|
|
reverb_bus_enable = false
|
|
reverb_bus_name = "Master"
|
|
reverb_bus_amount = 0.0
|
|
reverb_bus_uniformity = 0.0
|
|
|
|
[node name="collision_shape2" type="CollisionShape" parent="mesh_instance/area" index="0"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 9.40695, 0, 0, 0 )
|
|
shape = SubResource( 3 )
|
|
disabled = false
|
|
|
|
[connection signal="body_shape_entered" from="mesh_instance/area" to="." method="_on_area_body_shape_entered"]
|
|
|
|
|