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
29
prefabs/modules/test_module_engine.tscn
Normal file
29
prefabs/modules/test_module_engine.tscn
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
[gd_scene format=3 uid="uid://dbi3g3j5txjwh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d4naw4kwsaxgi" path="res://scripts/VesselModuleNode.cs" id="1_op0d6"]
|
||||
|
||||
[sub_resource type="CylinderMesh" id="CylinderMesh_d1o6a"]
|
||||
top_radius = 1.0
|
||||
bottom_radius = 1.0
|
||||
height = 5.0
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_g1n3o"]
|
||||
height = 5.0
|
||||
radius = 1.0
|
||||
|
||||
[node name="TestModuleEngine" type="StaticBody3D" unique_id=734366198]
|
||||
script = ExtResource("1_op0d6")
|
||||
|
||||
[node name="Mesh1" type="MeshInstance3D" parent="." unique_id=1213452774]
|
||||
transform = Transform3D(3.749399456654644e-33, -6.123233995736766e-17, -1, 1, 6.123233995736766e-17, 0, 6.123233995736766e-17, -1, 6.123233995736766e-17, 0, 0, 0)
|
||||
mesh = SubResource("CylinderMesh_d1o6a")
|
||||
|
||||
[node name="Collider1" type="CollisionShape3D" parent="." unique_id=379931522]
|
||||
transform = Transform3D(3.749399456654644e-33, -6.123233995736766e-17, -1, 1, 6.123233995736766e-17, 0, 6.123233995736766e-17, -1, 6.123233995736766e-17, 0, 0, 0)
|
||||
shape = SubResource("CylinderShape3D_g1n3o")
|
||||
|
||||
[node name="TestModuleEngine_AnchorLeft" type="Node3D" parent="." unique_id=1526898268]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0)
|
||||
|
||||
[node name="TestModuleEngine_AnchorRight" type="Node3D" parent="." unique_id=1761527145]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue