feat(*): add wall/ceiling surface pull and retune ball-ship materials

This commit is contained in:
Josh Creek
2026-07-20 19:33:28 +01:00
parent e23d780402
commit 46c8275523
7 changed files with 95 additions and 4 deletions
+5 -3
View File
@@ -1,12 +1,13 @@
[gd_scene load_steps=4 format=3 uid="uid://27u3tdc5yqnl"]
[gd_scene load_steps=5 format=3 uid="uid://27u3tdc5yqnl"]
[ext_resource type="ArrayMesh" uid="uid://ucw1lyo43yi4" path="res://assets/models/gold_ball.res" id="1_ct1s3"]
[ext_resource type="Script" path="res://scripts/ball.gd" id="2_ball"]
[sub_resource type="SphereShape3D" id="SphereShape3D_c5p07"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_ball"]
bounce = 0.8
friction = 0.3
bounce = 0.5
friction = 0.4
[node name="Ball" type="RigidBody3D" groups=["ball"]]
mass = 3
@@ -16,6 +17,7 @@ inertia = Vector3(3, 3, 3)
gravity_scale = 0.8
linear_damp = 0.1
angular_damp = 0.1
script = ExtResource("2_ball")
metadata/_edit_group_ = true
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
+1 -1
View File
@@ -4,7 +4,7 @@
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_ship"]
friction = 0.1
bounce = 0.2
bounce = 0.15
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hull"]
albedo_color = Color(0.35, 0.37, 0.42, 1)