multi_planes.tscn 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. [gd_scene load_steps=7 format=3 uid="uid://531sehq2rc2y"]
  2. [ext_resource type="Texture2D" uid="uid://cgwafs6ukpm7y" path="res://component/entity/ground/ground051.jpg" id="1_4htd0"]
  3. [ext_resource type="Script" path="res://run/levels/camera_tracker.gd" id="2_gxt8l"]
  4. [ext_resource type="PackedScene" uid="uid://dao17ylietgyl" path="res://component/entity/vehicles/plane/tiny_plane.tscn" id="6_2gcd8"]
  5. [sub_resource type="BoxShape3D" id="BoxShape3D_ctk0t"]
  6. size = Vector3(500, 10, 500)
  7. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ot7iy"]
  8. albedo_texture = ExtResource("1_4htd0")
  9. subsurf_scatter_strength = 0.73
  10. grow_amount = 0.352
  11. point_size = 55.9
  12. [sub_resource type="QuadMesh" id="QuadMesh_dt8nl"]
  13. material = SubResource("StandardMaterial3D_ot7iy")
  14. size = Vector2(500, 500)
  15. orientation = 1
  16. [node name="InfiniteLevel" type="Node3D"]
  17. [node name="Ground" type="StaticBody3D" parent="."]
  18. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
  19. collision_mask = 0
  20. [node name="Shape" type="CollisionShape3D" parent="Ground"]
  21. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5, 0)
  22. shape = SubResource("BoxShape3D_ctk0t")
  23. [node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"]
  24. mesh = SubResource("QuadMesh_dt8nl")
  25. [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
  26. transform = Transform3D(1, 0, 0, 0, 0.734358, 0.678762, 0, -0.678762, 0.734358, -33.1669, 12.6773, 15.7238)
  27. shadow_enabled = true
  28. [node name="MainCamera" type="Camera3D" parent="."]
  29. transform = Transform3D(0.735151, 0.221822, -0.640584, 2.77013e-08, 0.944949, 0.327218, 0.677903, -0.240555, 0.69468, -119.371, 17.0249, 72.4988)
  30. current = true
  31. script = ExtResource("2_gxt8l")
  32. max_distance = 6.0
  33. camera_height = 2.0
  34. [node name="TinyPlane1" parent="." instance=ExtResource("6_2gcd8")]
  35. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -76.6685, 15.7672, 53.8067)
  36. [node name="TinyPlane2" parent="." instance=ExtResource("6_2gcd8")]
  37. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -62.3368, 15.7672, 53.8067)
  38. linear_velocity = Vector3(0, 0, -1)
  39. [node name="TinyPlane3" parent="." instance=ExtResource("6_2gcd8")]
  40. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -49.0939, 15.7672, 53.8067)
  41. linear_velocity = Vector3(0, 0, -10)
  42. [node name="TinyPlane4" parent="." instance=ExtResource("6_2gcd8")]
  43. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37.3559, 15.7672, 53.8067)
  44. linear_velocity = Vector3(0, 0, -20)