WIP:Update boat value
This commit is contained in:
parent
a87fbd13db
commit
913772ece1
2 changed files with 5 additions and 6 deletions
|
@ -20,7 +20,6 @@ size = Vector3(0.1, 2.5, 0.1)
|
|||
|
||||
[node name="Boat" type="RigidBody3D"]
|
||||
mass = 50.0
|
||||
gravity_scale = 0.3
|
||||
script = ExtResource("1_q76at")
|
||||
max_thrust_force = 3000.0
|
||||
max_steering = 20.0
|
||||
|
@ -29,28 +28,28 @@ 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 = 1.0
|
||||
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.0
|
||||
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.0
|
||||
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 = 1.0
|
||||
float_strength = 2.0
|
||||
max_float_force = 1500.0
|
||||
metadata/_custom_type_script = "uid://cnfkxclrq0i0s"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ var currentdepth:float
|
|||
@export var show_probe :bool = false:
|
||||
set(_value):
|
||||
show_probe = _value
|
||||
if !show_probe:
|
||||
if !show_probe && sphere_preview != null:
|
||||
sphere_preview.queue_free()
|
||||
|
||||
var sphere_preview:MeshInstance3D
|
||||
|
|
Loading…
Reference in a new issue