46 lines
1.8 KiB
Text
46 lines
1.8 KiB
Text
[gd_scene format=3 uid="uid://btspomjpmaeix"]
|
|
|
|
[ext_resource type="Script" uid="uid://cy8nuarxbnd" path="res://scripts/GravityZone.cs" id="1_cp5qc"]
|
|
[ext_resource type="Script" uid="uid://d4naw4kwsaxgi" path="res://scripts/VesselModuleNode.cs" id="1_hmual"]
|
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_cp5qc"]
|
|
top_radius = 5.0
|
|
bottom_radius = 5.0
|
|
height = 0.3
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_8km7m"]
|
|
height = 0.3
|
|
radius = 5.0
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ok5mh"]
|
|
height = 3.0
|
|
radius = 5.0
|
|
|
|
[node name="TestModuleBridge" type="StaticBody3D" unique_id=734366198]
|
|
script = ExtResource("1_hmual")
|
|
|
|
[node name="Mesh1" type="MeshInstance3D" parent="." unique_id=1213452774]
|
|
mesh = SubResource("CylinderMesh_cp5qc")
|
|
|
|
[node name="Collider1" type="CollisionShape3D" parent="." unique_id=379931522]
|
|
shape = SubResource("CylinderShape3D_8km7m")
|
|
|
|
[node name="GravityZone" type="Area3D" parent="." unique_id=431050752]
|
|
gravity_space_override = 2
|
|
script = ExtResource("1_cp5qc")
|
|
|
|
[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)
|
|
shape = SubResource("CylinderShape3D_ok5mh")
|
|
|
|
[node name="TestModuleBridge_AnchorBack" type="Node3D" parent="." unique_id=1526898268]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -5)
|
|
|
|
[node name="TestModuleBridge_AnchorLeft" type="Node3D" parent="." unique_id=1699158457]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 0, 0)
|
|
|
|
[node name="TestModuleBridge_AnchorRight" type="Node3D" parent="." unique_id=742563404]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, 0)
|
|
|
|
[connection signal="body_entered" from="GravityZone" to="GravityZone" method="OnBodyEntered"]
|
|
[connection signal="body_exited" from="GravityZone" to="GravityZone" method="OnBodyExited"]
|