tiny_plane.tscn 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [gd_scene load_steps=6 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. [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_m4n1f"]
  5. radius = 0.38
  6. height = 4.37708
  7. [sub_resource type="BoxShape3D" id="BoxShape3D_w478f"]
  8. size = Vector3(5.20238, 0.197845, 1)
  9. [sub_resource type="BoxShape3D" id="BoxShape3D_stelr"]
  10. size = Vector3(1, 0.39856, 3.06068)
  11. [node name="TinyPlane" type="VehicleBody3D" groups=["vehicle"]]
  12. collision_layer = 8
  13. collision_mask = 3
  14. input_ray_pickable = false
  15. mass = 750.0
  16. contact_monitor = true
  17. max_contacts_reported = 1
  18. script = ExtResource("1_tviov")
  19. [node name="TinyPlane" parent="." instance=ExtResource("2_60pln")]
  20. [node name="Core" type="CollisionShape3D" parent="."]
  21. transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.613223, 1.23028)
  22. shape = SubResource("CapsuleShape3D_m4n1f")
  23. [node name="Wings" type="CollisionShape3D" parent="."]
  24. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.599034, 0.693509)
  25. shape = SubResource("BoxShape3D_w478f")
  26. [node name="Bottom" type="CollisionShape3D" parent="."]
  27. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.192811, 0.0385618)
  28. shape = SubResource("BoxShape3D_stelr")
  29. [node name="DrivingSeat" type="Node3D" parent="." groups=["seat"]]
  30. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.253056, -0.941579)