Skip to content

Commit

Permalink
Improve Corvette colliders
Browse files Browse the repository at this point in the history
  • Loading branch information
jspahrsummers committed Jun 27, 2024
1 parent b6a27d8 commit a3c9a0c
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions ships/corvette01/corvette01.tscn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[gd_scene load_steps=11 format=3 uid="uid://cqxv07b8bwiev"]
[gd_scene load_steps=12 format=3 uid="uid://cqxv07b8bwiev"]

[ext_resource type="Script" path="res://ships/ship.gd" id="1_wioy5"]
[ext_resource type="ArrayMesh" uid="uid://40a23nnu1j37" path="res://ships/corvette01/corvette01_mesh.tres" id="1_yacfo"]
Expand All @@ -8,7 +8,12 @@
[ext_resource type="Material" uid="uid://dskoto6nul131" path="res://gui/target_overlay_mat.tres" id="4_it73y"]
[ext_resource type="AudioStream" uid="uid://5iqc5o8p02l5" path="res://ships/audio/THRUSTER LOW.wav" id="4_xrdjv"]

[sub_resource type="SphereShape3D" id="SphereShape3D_kf5ql"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_2lrme"]
radius = 0.362506
height = 3.94075

[sub_resource type="BoxShape3D" id="BoxShape3D_slrqn"]
size = Vector3(0.361725, 0.247406, 0.331055)

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t5loa"]
shading_mode = 0
Expand All @@ -32,9 +37,13 @@ target_overlay_material = ExtResource("4_it73y")
mesh_instance = NodePath("MeshInstance3D")
weapon_hardpoints = [NodePath("BlasterHardpoint")]

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0, 0)
shape = SubResource("SphereShape3D_kf5ql")
[node name="CapsuleCollider" type="CollisionShape3D" parent="."]
transform = Transform3D(0.2, 5.57798e-24, 3.04919e-24, -1.03947e-24, -8.74228e-09, -0.2, 0, 0.2, -8.74228e-09, 2.61027e-17, -2.61027e-17, -0.0748385)
shape = SubResource("CapsuleShape3D_2lrme")

[node name="BoxCollider" type="CollisionShape3D" parent="."]
transform = Transform3D(1, -1.21652e-31, 0, -1.21652e-31, 1, 0, 0, 0, 1, -0.000546917, 0.0467417, 0.149902)
shape = SubResource("BoxShape3D_slrqn")

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(-0.2, 6.97574e-17, -1.74846e-08, 6.97574e-17, 0.2, -6.97574e-17, 1.74846e-08, -6.97574e-17, -0.2, 0, 0, 0)
Expand Down

0 comments on commit a3c9a0c

Please sign in to comment.