30 lines
966 B
Plaintext
30 lines
966 B
Plaintext
[gd_scene format=3 uid="uid://cieiwihia8t2w"]
|
|
|
|
[ext_resource type="Script" uid="uid://c0n1x050jvspr" path="res://scripts/boat.gd" id="1_7h74f"]
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_crate"]
|
|
size = Vector3(1, 1, 5)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="Material_crate"]
|
|
albedo_color = Color(0.72, 0.53, 0.32, 1)
|
|
roughness = 0.9
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape_crate"]
|
|
size = Vector3(1, 1, 5)
|
|
|
|
[node name="Boat" type="RigidBody3D" unique_id=1387061778 groups=["shift_with_origin"]]
|
|
collision_layer = 2
|
|
mass = 5.0
|
|
script = ExtResource("1_7h74f")
|
|
buoyancy = 4.0
|
|
full_force_depth = 0.8
|
|
probe_extents = Vector3(0.35, 0, 2.25)
|
|
probe_grid = Vector2i(2, 5)
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="." unique_id=671943938]
|
|
mesh = SubResource("BoxMesh_crate")
|
|
surface_material_override/0 = SubResource("Material_crate")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=18200711]
|
|
shape = SubResource("BoxShape_crate")
|