Portal.tscn 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. [gd_scene load_steps=4 format=2]
  2. [sub_resource type="BoxShape" id=1]
  3. extents = Vector3( 2, 1, 2 )
  4. [sub_resource type="SpatialMaterial" id=2]
  5. render_priority = 0
  6. flags_transparent = false
  7. flags_unshaded = false
  8. flags_vertex_lighting = false
  9. flags_no_depth_test = false
  10. flags_use_point_size = false
  11. flags_world_triplanar = false
  12. flags_fixed_size = false
  13. flags_albedo_tex_force_srgb = false
  14. vertex_color_use_as_albedo = false
  15. vertex_color_is_srgb = false
  16. params_diffuse_mode = 0
  17. params_specular_mode = 0
  18. params_blend_mode = 0
  19. params_cull_mode = 0
  20. params_depth_draw_mode = 0
  21. params_line_width = 1.0
  22. params_point_size = 1.0
  23. params_billboard_mode = 0
  24. params_grow = false
  25. params_use_alpha_scissor = false
  26. albedo_color = Color( 0.0384521, 0.546875, 0.177474, 1 )
  27. metallic = 0.0
  28. metallic_specular = 0.5
  29. metallic_texture_channel = 0
  30. roughness = 0.0
  31. roughness_texture_channel = 0
  32. emission_enabled = false
  33. normal_enabled = false
  34. rim_enabled = false
  35. clearcoat_enabled = false
  36. anisotropy_enabled = false
  37. ao_enabled = false
  38. depth_enabled = false
  39. subsurf_scatter_enabled = false
  40. transmission_enabled = false
  41. refraction_enabled = false
  42. detail_enabled = false
  43. uv1_scale = Vector3( 1, 1, 1 )
  44. uv1_offset = Vector3( 0, 0, 0 )
  45. uv1_triplanar = false
  46. uv1_triplanar_sharpness = 1.0
  47. uv2_scale = Vector3( 1, 1, 1 )
  48. uv2_offset = Vector3( 0, 0, 0 )
  49. uv2_triplanar = false
  50. uv2_triplanar_sharpness = 1.0
  51. proximity_fade_enable = false
  52. distance_fade_enable = false
  53. _sections_unfolded = [ "Albedo" ]
  54. [sub_resource type="CylinderMesh" id=3]
  55. material = SubResource( 2 )
  56. custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
  57. top_radius = 1.0
  58. bottom_radius = 1.0
  59. height = 2.0
  60. radial_segments = 64
  61. rings = 4
  62. [node name="Portal" type="Area" groups=[
  63. "group_portal",
  64. ]]
  65. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.95432, 0 )
  66. input_ray_pickable = false
  67. input_capture_on_drag = false
  68. space_override = 0
  69. gravity_point = false
  70. gravity_distance_scale = 0.0
  71. gravity_vec = Vector3( 0, -1, 0 )
  72. gravity = 9.8
  73. linear_damp = 0.1
  74. angular_damp = 1.0
  75. priority = 0.0
  76. monitoring = true
  77. monitorable = true
  78. collision_layer = 1
  79. collision_mask = 1
  80. audio_bus_override = false
  81. audio_bus_name = "Master"
  82. reverb_bus_enable = false
  83. reverb_bus_name = "Master"
  84. reverb_bus_amount = 0.0
  85. reverb_bus_uniformity = 0.0
  86. _sections_unfolded = [ "Transform" ]
  87. [node name="CollisionShape" type="CollisionShape" parent="." index="0"]
  88. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.427124, 0 )
  89. shape = SubResource( 1 )
  90. disabled = false
  91. _sections_unfolded = [ "Transform" ]
  92. [node name="MeshInstance" type="MeshInstance" parent="." index="1"]
  93. transform = Transform( 2, 0, 0, 0, 0.3, 0, 0, 0, 2, 0, -1.77869, 0 )
  94. layers = 1
  95. material_override = null
  96. cast_shadow = 1
  97. extra_cull_margin = 0.0
  98. use_in_baked_light = false
  99. lod_min_distance = 0.0
  100. lod_min_hysteresis = 0.0
  101. lod_max_distance = 0.0
  102. lod_max_hysteresis = 0.0
  103. mesh = SubResource( 3 )
  104. skeleton = NodePath("..")
  105. material/0 = null
  106. _sections_unfolded = [ "Transform" ]