Files
boatgame/player_boat.tscn
T
2026-07-07 10:01:56 +02:00

30 lines
999 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"]
[node name="PlayerBoat" type="RigidBody3D" unique_id=1387061778 groups=["shift_with_origin"]]
mass = 5.0
script = ExtResource("1_7h74f")
buoyancy = 1.5
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]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 5, 0, 0, 0)
layers = 2
mesh = SubResource("BoxMesh_crate")
surface_material_override/0 = SubResource("Material_crate")
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=18200711]
shape = SubResource("BoxShape_crate")