Boat/boat/boat.tscn

121 lines
4.1 KiB
Text
Raw Normal View History

[gd_scene load_steps=10 format=3 uid="uid://babgqvkugifk1"]
2025-03-21 16:43:59 +00:00
2025-03-22 00:48:22 +00:00
[ext_resource type="Script" uid="uid://du135dtrpwm7o" path="res://boat/WalkableBoat.gd" id="1_ml88t"]
2025-03-21 16:43:59 +00:00
[ext_resource type="PackedScene" uid="uid://bcdjvsj0la72h" path="res://boat/source/untitled.fbx" id="2_enlnh"]
2025-03-22 00:48:22 +00:00
2025-03-22 21:55:11 +00:00
[sub_resource type="GDScript" id="GDScript_enlnh"]
resource_name = "NoRotation"
script/source = "extends Node3D
func _process(_delta):
global_rotation = $\"../..\".cam_rotation
2025-03-22 21:55:11 +00:00
"
[sub_resource type="Curve" id="Curve_enlnh"]
_limits = [0.0, 10.0, 0.0, 5.0]
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(2.83988, 10), 0.299357, 0.0, 0, 0]
point_count = 2
[sub_resource type="CurveTexture" id="CurveTexture_ml88t"]
curve = SubResource("Curve_enlnh")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_enlnh"]
lifetime_randomness = 0.14
emission_shape = 1
emission_sphere_radius = 2.42
angle_min = -63.4
angle_max = 360.0
spread = 21.0
initial_velocity_max = 1.0
angular_velocity_min = -144.39
angular_velocity_max = 40.97
gravity = Vector3(0, 0.7, 0)
scale_min = 0.5
scale_curve = SubResource("CurveTexture_ml88t")
scale_over_velocity_max = 5.0
color = Color(1, 1, 1, 0.219608)
[sub_resource type="SphereMesh" id="SphereMesh_ml88t"]
radius = 0.08
height = 0.15
radial_segments = 4
rings = 2
[sub_resource type="SphereMesh" id="SphereMesh_enlnh"]
radius = 0.1
height = 0.2
2025-03-22 00:48:22 +00:00
[sub_resource type="BoxShape3D" id="BoxShape3D_enlnh"]
2025-03-22 21:55:11 +00:00
size = Vector3(1.5252, 0.507935, 1)
2025-03-21 16:43:59 +00:00
[node name="Boat" type="RigidBody3D"]
mass = 50.0
2025-03-22 00:48:22 +00:00
script = ExtResource("1_ml88t")
float_force = 30.0
water_drag = 0.01
max_thrust_force = 2000.0
max_steering = 250.0
[node name="untitled" parent="." instance=ExtResource("2_enlnh")]
transform = Transform3D(-0.1, 0, -1.50996e-08, 0, 0.1, 0, 1.50996e-08, 0, -0.1, 0, 0.260904, 0)
2025-03-21 16:43:59 +00:00
[node name="Node3D" type="Node3D" parent="untitled"]
transform = Transform3D(-10, 0, 1.50996e-06, 0, 10, 0, -1.50996e-06, 0, -10, 0, 0, 0)
2025-03-22 21:55:11 +00:00
script = SubResource("GDScript_enlnh")
[node name="SpringArm3D" type="SpringArm3D" parent="untitled/Node3D"]
2025-03-21 16:43:59 +00:00
transform = Transform3D(1, 0, 0, 0, 0.893285, 0.449491, 0, -0.449491, 0.893285, 0, 0.350159, 0)
spring_length = 3.5
2025-03-21 16:43:59 +00:00
[node name="Camera3D" type="Camera3D" parent="untitled/Node3D/SpringArm3D"]
2025-03-21 16:43:59 +00:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.107117, 0.323316, 2.70191)
[node name="GPUParticles3D" type="GPUParticles3D" parent="untitled"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.92513, 10.9874, -0.18139)
transparency = 0.18
amount = 32
lifetime = 7.0
interp_to_end = 0.04
speed_scale = 0.8
randomness = 0.4
visibility_aabb = AABB(-4, -2.58, -6.945, 13.755, 23.63, 16.17)
draw_order = 3
process_material = SubResource("ParticleProcessMaterial_enlnh")
draw_pass_1 = SubResource("SphereMesh_ml88t")
2025-03-21 16:43:59 +00:00
2025-03-22 00:48:22 +00:00
[node name="ProbeContainer" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.465993, 0)
2025-03-22 00:48:22 +00:00
2025-03-22 21:55:11 +00:00
[node name="Cale3" type="Marker3D" parent="ProbeContainer"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.719583, 0, -0.00873816)
[node name="MeshInstance3D3" type="MeshInstance3D" parent="ProbeContainer/Cale3"]
mesh = SubResource("SphereMesh_enlnh")
skeleton = NodePath("")
2025-03-22 21:55:11 +00:00
[node name="Cale5" type="Marker3D" parent="ProbeContainer"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.783989, 0, -0.0544244)
[node name="MeshInstance3D4" type="MeshInstance3D" parent="ProbeContainer/Cale5"]
mesh = SubResource("SphereMesh_enlnh")
skeleton = NodePath("")
2025-03-22 21:55:11 +00:00
[node name="Cale4" type="Marker3D" parent="ProbeContainer"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0411369, 0, 0.481184)
[node name="MeshInstance3D5" type="MeshInstance3D" parent="ProbeContainer/Cale4"]
mesh = SubResource("SphereMesh_enlnh")
skeleton = NodePath("")
2025-03-22 21:55:11 +00:00
[node name="Cale6" type="Marker3D" parent="ProbeContainer"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0411369, 0, -0.538607)
[node name="MeshInstance3D6" type="MeshInstance3D" parent="ProbeContainer/Cale6"]
mesh = SubResource("SphereMesh_enlnh")
skeleton = NodePath("")
2025-03-22 00:48:22 +00:00
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
2025-03-22 21:55:11 +00:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00595701, 0.251318, 0)
2025-03-22 00:48:22 +00:00
shape = SubResource("BoxShape3D_enlnh")