72 lines
2.6 KiB
Text
72 lines
2.6 KiB
Text
[gd_scene load_steps=8 format=3 uid="uid://bdfqifxsvpts4"]
|
|
|
|
[ext_resource type="Script" uid="uid://cjo6l2ykgvn4e" path="res://Boats/boat.gd" id="1_q76at"]
|
|
[ext_resource type="Script" uid="uid://cnfkxclrq0i0s" path="res://Boats/buyancy_probe.gd" id="3_dd4jx"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_g5njt"]
|
|
size = Vector3(2, 0.35, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bmmu8"]
|
|
albedo_color = Color(1, 0.172549, 0, 1)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_bmmu8"]
|
|
size = Vector3(2, 0.35, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dd4jx"]
|
|
albedo_color = Color(1, 0.172549, 0, 1)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_dd4jx"]
|
|
size = Vector3(0.1, 2.5, 0.1)
|
|
|
|
[node name="Boat" type="RigidBody3D"]
|
|
mass = 50.0
|
|
script = ExtResource("1_q76at")
|
|
max_thrust_force = 3000.0
|
|
max_steering = 20.0
|
|
metadata/_custom_type_script = "uid://cjo6l2ykgvn4e"
|
|
|
|
[node name="BuyancyProbe" type="Marker3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -0.0397125)
|
|
script = ExtResource("3_dd4jx")
|
|
float_strength = 2.0
|
|
max_float_force = 1500.0
|
|
metadata/_custom_type_script = "uid://cnfkxclrq0i0s"
|
|
|
|
[node name="BuyancyProbe2" type="Marker3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0235078, 0, -0.5)
|
|
script = ExtResource("3_dd4jx")
|
|
float_strength = 1.5
|
|
max_float_force = 1500.0
|
|
metadata/_custom_type_script = "uid://cnfkxclrq0i0s"
|
|
|
|
[node name="BuyancyProbe3" type="Marker3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0674343, 0, 0.5)
|
|
script = ExtResource("3_dd4jx")
|
|
float_strength = 1.5
|
|
max_float_force = 1500.0
|
|
metadata/_custom_type_script = "uid://cnfkxclrq0i0s"
|
|
|
|
[node name="BuyancyProbe4" type="Marker3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -0.0214682)
|
|
script = ExtResource("3_dd4jx")
|
|
float_strength = 2.0
|
|
max_float_force = 1500.0
|
|
metadata/_custom_type_script = "uid://cnfkxclrq0i0s"
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("BoxShape3D_g5njt")
|
|
|
|
[node name="CamRoot" type="Node3D" parent="."]
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="CamRoot"]
|
|
transform = Transform3D(0.489698, 0.510696, -0.706672, -0.000524954, 0.810677, 0.585494, 0.871892, -0.286344, 0.397255, -1.71955, 1.82832, 0.828034)
|
|
current = true
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
material_override = SubResource("StandardMaterial3D_bmmu8")
|
|
mesh = SubResource("BoxMesh_bmmu8")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="MeshInstance3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.467696, 0)
|
|
material_override = SubResource("StandardMaterial3D_dd4jx")
|
|
mesh = SubResource("BoxMesh_dd4jx")
|