Browse Source

:wrench: Fill missing hitboxes

DricomDragon 4 days ago
parent
commit
2f424e0c80
1 changed files with 20 additions and 2 deletions
  1. 20 2
      godot/component/entity/vehicles/biplan/biplan.tscn

+ 20 - 2
godot/component/entity/vehicles/biplan/biplan.tscn

@@ -1,4 +1,4 @@
-[gd_scene load_steps=8 format=3 uid="uid://ceqqr0vn633o4"]
+[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"]
@@ -16,6 +16,12 @@ 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
@@ -70,9 +76,21 @@ suspension_max_force = 12000.0
 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, 0, 0, 1, 0, 0, 0, 1, 2.38419e-07, 0.849324, -0.53054)
+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")