Jeep.tscn 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. [gd_scene load_steps=6 format=3 uid="uid://cj5dmtqadl5nf"]
  2. [ext_resource type="Script" path="res://component/entity/vehicles/jeep/jeep.gd" id="1_fjw46"]
  3. [ext_resource type="PackedScene" uid="uid://b8q3yfvdv320p" path="res://component/entity/vehicles/jeep/OrangeJeepOpen_noWheel.glb" id="2_1w6lv"]
  4. [ext_resource type="PackedScene" uid="uid://b4ra2s5exappk" path="res://component/entity/vehicles/jeep/OrangeJeepOpen_wheel.glb" id="3_skal6"]
  5. [sub_resource type="BoxShape3D" id="BoxShape3D_1maan"]
  6. size = Vector3(1, 0.769157, 2.98936)
  7. [sub_resource type="BoxShape3D" id="BoxShape3D_skl11"]
  8. size = Vector3(0.28984, 1.56027, 0.993305)
  9. [node name="Jeep" type="VehicleBody3D" groups=["vehicle"]]
  10. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.623038, 0)
  11. collision_layer = 8
  12. collision_mask = 27
  13. mass = 400.0
  14. center_of_mass_mode = 1
  15. center_of_mass = Vector3(0, 0.06, 0)
  16. max_contacts_reported = 1
  17. contact_monitor = true
  18. script = ExtResource("1_fjw46")
  19. max_engine_force = 1842.0
  20. [node name="OrangeJeepOpen_noWheel" parent="." instance=ExtResource("2_1w6lv")]
  21. transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0)
  22. [node name="MainShape" type="CollisionShape3D" parent="."]
  23. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.925237, -0.00412709)
  24. shape = SubResource("BoxShape3D_1maan")
  25. [node name="FrontAxis" type="CollisionShape3D" parent="."]
  26. transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0, 0.641172, 1.10312)
  27. shape = SubResource("BoxShape3D_skl11")
  28. [node name="RearAxis" type="CollisionShape3D" parent="."]
  29. transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0, 0.641172, -1.08224)
  30. shape = SubResource("BoxShape3D_skl11")
  31. [node name="FrontRightWheel" type="VehicleWheel3D" parent="."]
  32. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.6, 0.332104, 1)
  33. use_as_steering = true
  34. wheel_radius = 0.32
  35. suspension_travel = 0.6
  36. suspension_stiffness = 50.0
  37. damping_compression = 0.3
  38. damping_relaxation = 0.5
  39. [node name="OrangeJeepOpen_wheel" parent="FrontRightWheel" instance=ExtResource("3_skal6")]
  40. [node name="FrontLeftWheel" type="VehicleWheel3D" parent="."]
  41. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.6, 0.332104, 1)
  42. use_as_steering = true
  43. wheel_radius = 0.32
  44. suspension_travel = 0.6
  45. suspension_stiffness = 50.0
  46. damping_compression = 0.3
  47. damping_relaxation = 0.5
  48. [node name="OrangeJeepOpen_wheel2" parent="FrontLeftWheel" instance=ExtResource("3_skal6")]
  49. transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
  50. [node name="RearLeftWheel" type="VehicleWheel3D" parent="."]
  51. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.6, 0.332104, -1.01869)
  52. use_as_traction = true
  53. wheel_radius = 0.32
  54. suspension_travel = 0.6
  55. suspension_stiffness = 50.0
  56. damping_compression = 0.3
  57. damping_relaxation = 0.5
  58. [node name="OrangeJeepOpen_wheel3" parent="RearLeftWheel" instance=ExtResource("3_skal6")]
  59. transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
  60. [node name="RearRightWheel" type="VehicleWheel3D" parent="."]
  61. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.6, 0.332104, -1.019)
  62. use_as_traction = true
  63. wheel_radius = 0.32
  64. suspension_travel = 0.6
  65. suspension_stiffness = 50.0
  66. damping_compression = 0.3
  67. damping_relaxation = 0.5
  68. [node name="OrangeJeepOpen_wheel4" parent="RearRightWheel" instance=ExtResource("3_skal6")]
  69. [node name="RearSeat" type="Node3D" parent="." groups=["seat"]]
  70. unique_name_in_owner = true
  71. transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0.495948, -0.178343)