|
@@ -0,0 +1,98 @@
|
|
|
|
+[gd_scene load_steps=10 format=3 uid="uid://ceqqr0vn633o4"]
|
|
|
|
+
|
|
|
|
+[ext_resource type="Script" path="res://component/entity/vehicles/biplan/biplan.gd" id="1_vi3fj"]
|
|
|
|
+[ext_resource type="PackedScene" uid="uid://bcysn7mbjre1r" path="res://component/entity/vehicles/biplan/TheWindWaker_noWheel.glb" id="2_mr41j"]
|
|
|
|
+[ext_resource type="PackedScene" uid="uid://bhutb1ntqf2vt" path="res://component/entity/vehicles/biplan/wheels/TheWindWaker_sideWheel.glb" id="3_8s6eu"]
|
|
|
|
+[ext_resource type="PackedScene" uid="uid://lcp33gkhc60y" path="res://component/entity/vehicles/biplan/wheels/TheWindWaker_rearWheel.glb" id="4_5u4vt"]
|
|
|
|
+
|
|
|
|
+[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4fsfr"]
|
|
|
|
+radius = 0.0571188
|
|
|
|
+height = 0.857268
|
|
|
|
+
|
|
|
|
+[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_d0fig"]
|
|
|
|
+radius = 0.514
|
|
|
|
+height = 4.27973
|
|
|
|
+
|
|
|
|
+[sub_resource type="BoxShape3D" id="BoxShape3D_6m175"]
|
|
|
|
+size = Vector3(7.995, 0.12, 0.5)
|
|
|
|
+
|
|
|
|
+[sub_resource type="BoxShape3D" id="BoxShape3D_ws8bj"]
|
|
|
|
+size = Vector3(0.19, 0.70166, 1)
|
|
|
|
+
|
|
|
|
+[sub_resource type="BoxShape3D" id="BoxShape3D_ipw27"]
|
|
|
|
+size = Vector3(1.6, 0.118, 0.506224)
|
|
|
|
+
|
|
|
|
+[node name="Biplan" type="VehicleBody3D" groups=["vehicle"]]
|
|
|
|
+collision_layer = 8
|
|
|
|
+collision_mask = 27
|
|
|
|
+mass = 500.0
|
|
|
|
+contact_monitor = true
|
|
|
|
+max_contacts_reported = 1
|
|
|
|
+script = ExtResource("1_vi3fj")
|
|
|
|
+
|
|
|
|
+[node name="TheWindWaker_noWheel" parent="." instance=ExtResource("2_mr41j")]
|
|
|
|
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0)
|
|
|
|
+
|
|
|
|
+[node name="LeftWheelLink" type="CollisionShape3D" parent="."]
|
|
|
|
+transform = Transform3D(0.705006, -0.709202, 0, 0.709202, 0.705006, 0, 0, 0, 1, 0.639446, -0.0314799, 0.351246)
|
|
|
|
+shape = SubResource("CapsuleShape3D_4fsfr")
|
|
|
|
+
|
|
|
|
+[node name="LeftWheel" type="VehicleWheel3D" parent="."]
|
|
|
|
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.85905, -0.352406, 0.377702)
|
|
|
|
+wheel_radius = 0.245
|
|
|
|
+wheel_rest_length = 0.074
|
|
|
|
+suspension_stiffness = 75.0
|
|
|
|
+suspension_max_force = 12000.0
|
|
|
|
+damping_compression = 0.5
|
|
|
|
+damping_relaxation = 0.7
|
|
|
|
+
|
|
|
|
+[node name="TheWindWaker_sideWheel" parent="LeftWheel" instance=ExtResource("3_8s6eu")]
|
|
|
|
+
|
|
|
|
+[node name="RightWheelLink" type="CollisionShape3D" parent="."]
|
|
|
|
+transform = Transform3D(0.704634, 0.709571, 0, -0.709571, 0.704634, 0, 0, 0, 1, -0.639, -0.031, 0.351)
|
|
|
|
+shape = SubResource("CapsuleShape3D_4fsfr")
|
|
|
|
+
|
|
|
|
+[node name="RightWheel" type="VehicleWheel3D" parent="."]
|
|
|
|
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.859, -0.352, 0.378)
|
|
|
|
+wheel_radius = 0.245
|
|
|
|
+wheel_rest_length = 0.074
|
|
|
|
+suspension_stiffness = 75.0
|
|
|
|
+suspension_max_force = 12000.0
|
|
|
|
+damping_compression = 0.3
|
|
|
|
+damping_relaxation = 0.5
|
|
|
|
+
|
|
|
|
+[node name="TheWindWaker_sideWheel" parent="RightWheel" instance=ExtResource("3_8s6eu")]
|
|
|
|
+transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
|
|
|
+
|
|
|
|
+[node name="RearWheel" type="VehicleWheel3D" parent="."]
|
|
|
|
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.00717106, -2.87896)
|
|
|
|
+use_as_steering = true
|
|
|
|
+wheel_radius = 0.19
|
|
|
|
+wheel_rest_length = 0.057
|
|
|
|
+suspension_stiffness = 75.0
|
|
|
|
+suspension_max_force = 12000.0
|
|
|
|
+
|
|
|
|
+[node name="TheWindWaker_rearWheel" parent="RearWheel" instance=ExtResource("4_5u4vt")]
|
|
|
|
+
|
|
|
|
+[node name="Body" type="CollisionShape3D" parent="."]
|
|
|
|
+transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.507829, -0.522253)
|
|
|
|
+shape = SubResource("CapsuleShape3D_d0fig")
|
|
|
|
+
|
|
|
|
+[node name="TopWing" type="CollisionShape3D" parent="."]
|
|
|
|
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5507, -0.84682)
|
|
|
|
+shape = SubResource("BoxShape3D_6m175")
|
|
|
|
+
|
|
|
|
+[node name="BottomWing" type="CollisionShape3D" parent="."]
|
|
|
|
+transform = Transform3D(1, 0, 0, 0, 0.980604, -0.195998, 0, 0.195998, 0.980604, 0, 0.107529, -0.828761)
|
|
|
|
+shape = SubResource("BoxShape3D_6m175")
|
|
|
|
+
|
|
|
|
+[node name="DrivingSeat" type="Node3D" parent="." groups=["seat"]]
|
|
|
|
+transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 2.38419e-07, 0.462769, -0.53054)
|
|
|
|
+
|
|
|
|
+[node name="VerticalFoil" type="CollisionShape3D" parent="."]
|
|
|
|
+transform = Transform3D(1, 0, 0, 0, 0.823354, -0.567528, 0, 0.567528, 0.823354, -2.38419e-07, 0.989526, -3.4046)
|
|
|
|
+shape = SubResource("BoxShape3D_ws8bj")
|
|
|
|
+
|
|
|
|
+[node name="HorizontalFoil" type="CollisionShape3D" parent="."]
|
|
|
|
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.827551, -3.54696)
|
|
|
|
+shape = SubResource("BoxShape3D_ipw27")
|