tiny_plane.tscn 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. [gd_scene load_steps=9 format=3 uid="uid://dao17ylietgyl"]
  2. [ext_resource type="Script" path="res://component/entity/vehicles/plane/tiny_plane.gd" id="1_tviov"]
  3. [ext_resource type="PackedScene" uid="uid://bnopi1rerk2hw" path="res://component/entity/vehicles/plane/TinyPlane.glb" id="2_60pln"]
  4. [ext_resource type="Script" path="res://component/entity/vehicles/plane/thrust.gd" id="3_25l14"]
  5. [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_m4n1f"]
  6. radius = 0.38
  7. height = 4.37708
  8. [sub_resource type="BoxShape3D" id="BoxShape3D_w478f"]
  9. size = Vector3(5.20238, 0.197845, 1)
  10. [sub_resource type="BoxShape3D" id="BoxShape3D_stelr"]
  11. size = Vector3(1, 0.39856, 3.06068)
  12. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8xj10"]
  13. shading_mode = 0
  14. albedo_color = Color(1, 1, 0, 1)
  15. disable_receive_shadows = true
  16. [sub_resource type="BoxMesh" id="BoxMesh_7w4wj"]
  17. material = SubResource("StandardMaterial3D_8xj10")
  18. size = Vector3(0.21, 0.21, 8.95)
  19. [node name="TinyPlane" type="VehicleBody3D"]
  20. collision_layer = 8
  21. collision_mask = 3
  22. input_ray_pickable = false
  23. mass = 750.0
  24. contact_monitor = true
  25. max_contacts_reported = 1
  26. script = ExtResource("1_tviov")
  27. [node name="TinyPlane" parent="." instance=ExtResource("2_60pln")]
  28. [node name="Core" type="CollisionShape3D" parent="."]
  29. transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.613223, 1.23028)
  30. shape = SubResource("CapsuleShape3D_m4n1f")
  31. [node name="Wings" type="CollisionShape3D" parent="."]
  32. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.599034, 0.693509)
  33. shape = SubResource("BoxShape3D_w478f")
  34. [node name="Bottom" type="CollisionShape3D" parent="."]
  35. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.192811, 0.0385618)
  36. shape = SubResource("BoxShape3D_stelr")
  37. [node name="DrivingSeat" type="Marker3D" parent="."]
  38. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.253056, -0.941579)
  39. [node name="UpDoor" type="Marker3D" parent="."]
  40. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.998944, -0.288461)
  41. [node name="Thrust" type="Node3D" parent="."]
  42. script = ExtResource("3_25l14")
  43. [node name="ThrustFlameBloc" type="MeshInstance3D" parent="Thrust"]
  44. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.497443, 7.71941)
  45. visible = false
  46. mesh = SubResource("BoxMesh_7w4wj")
  47. skeleton = NodePath("../..")