tiny_plane.tscn 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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="RigidBody3D" groups=["vehicle"]]
  12. collision_layer = 8
  13. collision_mask = 3
  14. input_ray_pickable = false
  15. mass = 750.0
  16. script = ExtResource("1_tviov")
  17. [node name="TinyPlane" parent="." instance=ExtResource("2_60pln")]
  18. [node name="Core" type="CollisionShape3D" parent="."]
  19. transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.613223, 1.23028)
  20. shape = SubResource("CapsuleShape3D_m4n1f")
  21. [node name="Wings" type="CollisionShape3D" parent="."]
  22. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.599034, 0.693509)
  23. shape = SubResource("BoxShape3D_w478f")
  24. [node name="Bottom" type="CollisionShape3D" parent="."]
  25. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.192811, 0.0385618)
  26. shape = SubResource("BoxShape3D_stelr")
  27. [node name="DrivingSeat" type="Node3D" parent="." groups=["seat"]]
  28. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.253056, -0.941579)