Object parenting; Ship module prototype; Use 64 bit
This commit is contained in:
parent
3f97e18615
commit
8335714acc
30 changed files with 436 additions and 62 deletions
53
prefabs/modules/test_module_combined.tscn
Normal file
53
prefabs/modules/test_module_combined.tscn
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
[gd_scene format=3 uid="uid://xpja3is7guc1"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cy8nuarxbnd" path="res://scripts/GravityZone.cs" id="1_02ngc"]
|
||||
[ext_resource type="Script" uid="uid://d4naw4kwsaxgi" path="res://scripts/VesselModuleNode.cs" id="1_xo7v4"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_on55t"]
|
||||
size = Vector3(1, 0.3, 1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_l471i"]
|
||||
size = Vector3(1, 0.3, 1)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_fyq5x"]
|
||||
size = Vector3(3, 0.3, 5)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_fyol8"]
|
||||
size = Vector3(3, 0.3, 5)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_fyq5x"]
|
||||
size = Vector3(3, 3, 6)
|
||||
|
||||
[node name="TestModuleCombined" type="StaticBody3D" unique_id=1980918964]
|
||||
script = ExtResource("1_xo7v4")
|
||||
|
||||
[node name="Mesh1" type="MeshInstance3D" parent="." unique_id=1213452774]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2)
|
||||
mesh = SubResource("BoxMesh_on55t")
|
||||
|
||||
[node name="Collider1" type="CollisionShape3D" parent="." unique_id=379931522]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2)
|
||||
shape = SubResource("BoxShape3D_l471i")
|
||||
|
||||
[node name="Mesh2" type="MeshInstance3D" parent="." unique_id=731042680]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1)
|
||||
mesh = SubResource("BoxMesh_fyq5x")
|
||||
|
||||
[node name="Collider2" type="CollisionShape3D" parent="." unique_id=1953709166]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1)
|
||||
shape = SubResource("BoxShape3D_fyol8")
|
||||
|
||||
[node name="GravityZone" type="Area3D" parent="." unique_id=431050752]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1)
|
||||
gravity_space_override = 2
|
||||
script = ExtResource("1_02ngc")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="GravityZone" unique_id=1904473317]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0.5)
|
||||
shape = SubResource("BoxShape3D_fyq5x")
|
||||
|
||||
[node name="TestModuleCombined_AnchorFront" type="Node3D" parent="." unique_id=1191422945]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2.5)
|
||||
|
||||
[connection signal="body_entered" from="GravityZone" to="GravityZone" method="OnBodyEntered"]
|
||||
[connection signal="body_exited" from="GravityZone" to="GravityZone" method="OnBodyExited"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue