biplan.tscn 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. [gd_scene load_steps=8 format=3 uid="uid://ceqqr0vn633o4"]
  2. [ext_resource type="Script" path="res://component/entity/vehicles/biplan/biplan.gd" id="1_vi3fj"]
  3. [ext_resource type="PackedScene" uid="uid://bcysn7mbjre1r" path="res://component/entity/vehicles/biplan/TheWindWaker_noWheel.glb" id="2_mr41j"]
  4. [ext_resource type="PackedScene" uid="uid://bhutb1ntqf2vt" path="res://component/entity/vehicles/biplan/wheels/TheWindWaker_sideWheel.glb" id="3_8s6eu"]
  5. [ext_resource type="PackedScene" uid="uid://lcp33gkhc60y" path="res://component/entity/vehicles/biplan/wheels/TheWindWaker_rearWheel.glb" id="4_5u4vt"]
  6. [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4fsfr"]
  7. radius = 0.0571188
  8. height = 0.857268
  9. [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_d0fig"]
  10. radius = 0.514
  11. height = 4.27973
  12. [sub_resource type="BoxShape3D" id="BoxShape3D_6m175"]
  13. size = Vector3(7.995, 0.12, 0.5)
  14. [node name="Biplan" type="VehicleBody3D" groups=["vehicle"]]
  15. mass = 500.0
  16. script = ExtResource("1_vi3fj")
  17. [node name="TheWindWaker_noWheel" parent="." instance=ExtResource("2_mr41j")]
  18. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0)
  19. [node name="LeftWheelLink" type="CollisionShape3D" parent="."]
  20. transform = Transform3D(0.705006, -0.709202, 0, 0.709202, 0.705006, 0, 0, 0, 1, 0.639446, -0.0314799, 0.351246)
  21. shape = SubResource("CapsuleShape3D_4fsfr")
  22. [node name="LeftWheel" type="VehicleWheel3D" parent="."]
  23. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.85905, -0.352406, 0.377702)
  24. wheel_radius = 0.245
  25. wheel_rest_length = 0.074
  26. suspension_stiffness = 75.0
  27. suspension_max_force = 12000.0
  28. damping_compression = 0.5
  29. damping_relaxation = 0.7
  30. [node name="TheWindWaker_sideWheel" parent="LeftWheel" instance=ExtResource("3_8s6eu")]
  31. [node name="RightWheelLink" type="CollisionShape3D" parent="."]
  32. transform = Transform3D(0.704634, 0.709571, 0, -0.709571, 0.704634, 0, 0, 0, 1, -0.639, -0.031, 0.351)
  33. shape = SubResource("CapsuleShape3D_4fsfr")
  34. [node name="RightWheel" type="VehicleWheel3D" parent="."]
  35. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.859, -0.352, 0.378)
  36. wheel_radius = 0.245
  37. wheel_rest_length = 0.074
  38. suspension_stiffness = 75.0
  39. suspension_max_force = 12000.0
  40. damping_compression = 0.3
  41. damping_relaxation = 0.5
  42. [node name="TheWindWaker_sideWheel" parent="RightWheel" instance=ExtResource("3_8s6eu")]
  43. transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
  44. [node name="RearWheel" type="VehicleWheel3D" parent="."]
  45. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.00717106, -2.87896)
  46. use_as_steering = true
  47. wheel_radius = 0.19
  48. wheel_rest_length = 0.057
  49. suspension_stiffness = 75.0
  50. suspension_max_force = 12000.0
  51. [node name="TheWindWaker_rearWheel" parent="RearWheel" instance=ExtResource("4_5u4vt")]
  52. [node name="Body" type="CollisionShape3D" parent="."]
  53. transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.507829, -0.522253)
  54. shape = SubResource("CapsuleShape3D_d0fig")
  55. [node name="BottomWing" type="CollisionShape3D" parent="."]
  56. transform = Transform3D(1, 0, 0, 0, 0.980604, -0.195998, 0, 0.195998, 0.980604, 0, 0.107529, -0.828761)
  57. shape = SubResource("BoxShape3D_6m175")