biplan.tscn 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. [gd_scene load_steps=7 format=3 uid="uid://ceqqr0vn633o4"]
  2. [ext_resource type="Script" path="res://component/entity/vehicles/seated_vehicle.gd" id="1_ced13"]
  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_d0fig"]
  7. radius = 0.514
  8. height = 4.27973
  9. [sub_resource type="BoxShape3D" id="BoxShape3D_6m175"]
  10. size = Vector3(7.995, 0.12, 0.5)
  11. [node name="Biplan" type="VehicleBody3D" groups=["vehicle"]]
  12. mass = 500.0
  13. script = ExtResource("1_ced13")
  14. [node name="TheWindWaker_noWheel" parent="." instance=ExtResource("2_mr41j")]
  15. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0)
  16. [node name="LeftWheel" type="VehicleWheel3D" parent="."]
  17. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.85905, -0.352406, 0.377702)
  18. wheel_radius = 0.245
  19. wheel_rest_length = 0.074
  20. suspension_stiffness = 75.0
  21. suspension_max_force = 12000.0
  22. damping_compression = 0.5
  23. damping_relaxation = 0.7
  24. [node name="TheWindWaker_sideWheel" parent="LeftWheel" instance=ExtResource("3_8s6eu")]
  25. [node name="RightWheel" type="VehicleWheel3D" parent="."]
  26. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.859, -0.352, 0.378)
  27. wheel_radius = 0.245
  28. wheel_rest_length = 0.074
  29. suspension_stiffness = 75.0
  30. suspension_max_force = 12000.0
  31. damping_compression = 0.3
  32. damping_relaxation = 0.5
  33. [node name="TheWindWaker_sideWheel" parent="RightWheel" instance=ExtResource("3_8s6eu")]
  34. transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
  35. [node name="RearWheel" type="VehicleWheel3D" parent="."]
  36. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.00717106, -2.87896)
  37. use_as_steering = true
  38. wheel_radius = 0.19
  39. wheel_rest_length = 0.057
  40. suspension_stiffness = 75.0
  41. suspension_max_force = 12000.0
  42. [node name="TheWindWaker_rearWheel" parent="RearWheel" instance=ExtResource("4_5u4vt")]
  43. [node name="Body" type="CollisionShape3D" parent="."]
  44. transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.507829, -0.522253)
  45. shape = SubResource("CapsuleShape3D_d0fig")
  46. [node name="BottomWing" type="CollisionShape3D" parent="."]
  47. transform = Transform3D(1, 0, 0, 0, 0.980604, -0.195998, 0, 0.195998, 0.980604, 0, 0.107529, -0.828761)
  48. shape = SubResource("BoxShape3D_6m175")