Physics tweaks

This commit is contained in:
Rob Kelly 2025-01-08 12:38:32 -07:00
parent d268391eb8
commit 191937eae8
3 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
[gd_resource type="PhysicsMaterial" format=3 uid="uid://3bih72l068ic"] [gd_resource type="PhysicsMaterial" format=3 uid="uid://3bih72l068ic"]
[resource] [resource]
bounce = 0.5 bounce = 0.4

View File

@ -20,7 +20,7 @@
[sub_resource type="Resource" id="Resource_casfi"] [sub_resource type="Resource" id="Resource_casfi"]
script = ExtResource("4_onl6o") script = ExtResource("4_onl6o")
linear_damp = 0.0 linear_damp = 0.0
angular_damp = 0.7 angular_damp = 1.4
[sub_resource type="Resource" id="Resource_3k63c"] [sub_resource type="Resource" id="Resource_3k63c"]
script = ExtResource("4_onl6o") script = ExtResource("4_onl6o")
@ -30,27 +30,27 @@ angular_damp = 0.0
[sub_resource type="Resource" id="Resource_xf73q"] [sub_resource type="Resource" id="Resource_xf73q"]
script = ExtResource("4_onl6o") script = ExtResource("4_onl6o")
linear_damp = 0.0 linear_damp = 0.0
angular_damp = 1.0 angular_damp = 2.0
[sub_resource type="Resource" id="Resource_nhn3l"] [sub_resource type="Resource" id="Resource_nhn3l"]
script = ExtResource("4_onl6o") script = ExtResource("4_onl6o")
linear_damp = 0.0 linear_damp = 0.0
angular_damp = 0.3 angular_damp = 0.6
[sub_resource type="Resource" id="Resource_m3wjo"] [sub_resource type="Resource" id="Resource_m3wjo"]
script = ExtResource("4_onl6o") script = ExtResource("4_onl6o")
linear_damp = 0.0 linear_damp = 0.0
angular_damp = 0.5 angular_damp = 1.0
[sub_resource type="Resource" id="Resource_h4rld"] [sub_resource type="Resource" id="Resource_h4rld"]
script = ExtResource("4_onl6o") script = ExtResource("4_onl6o")
linear_damp = 0.0 linear_damp = 0.0
angular_damp = 0.3 angular_damp = 0.9
[sub_resource type="Resource" id="Resource_j6lib"] [sub_resource type="Resource" id="Resource_j6lib"]
script = ExtResource("4_onl6o") script = ExtResource("4_onl6o")
linear_damp = 0.0 linear_damp = 0.0
angular_damp = 1.2 angular_damp = 2.5
[sub_resource type="Resource" id="Resource_7f7ql"] [sub_resource type="Resource" id="Resource_7f7ql"]
script = ExtResource("4_onl6o") script = ExtResource("4_onl6o")
@ -65,7 +65,7 @@ angular_damp = 8.0
[sub_resource type="Resource" id="Resource_edkxb"] [sub_resource type="Resource" id="Resource_edkxb"]
script = ExtResource("4_onl6o") script = ExtResource("4_onl6o")
linear_damp = 0.0 linear_damp = 0.0
angular_damp = 1.0 angular_damp = 0.9
[sub_resource type="Resource" id="Resource_3ngau"] [sub_resource type="Resource" id="Resource_3ngau"]
script = ExtResource("3_52hui") script = ExtResource("3_52hui")

View File

@ -1,9 +1,9 @@
[gd_scene load_steps=22 format=3 uid="uid://cwnwcd8kushl3"] [gd_scene load_steps=22 format=3 uid="uid://cwnwcd8kushl3"]
[ext_resource type="Script" path="res://src/world/world.gd" id="1_ybjyx"] [ext_resource type="Script" path="res://src/world/world.gd" id="1_ybjyx"]
[ext_resource type="PackedScene" uid="uid://cvs546kk7t7aw" path="res://levels/terrain_test/terrain_test.tscn" id="2_6ivfd"]
[ext_resource type="Script" path="res://src/player/world_player.gd" id="2_e743i"] [ext_resource type="Script" path="res://src/player/world_player.gd" id="2_e743i"]
[ext_resource type="Script" path="res://src/ui/world_ui.gd" id="2_imewa"] [ext_resource type="Script" path="res://src/ui/world_ui.gd" id="2_imewa"]
[ext_resource type="PackedScene" uid="uid://bm2o3mex10v11" path="res://levels/debug_level/debug_level.tscn" id="2_l08a0"]
[ext_resource type="Resource" uid="uid://crock3revdn73" path="res://src/player/debug_player.tres" id="3_pyw81"] [ext_resource type="Resource" uid="uid://crock3revdn73" path="res://src/player/debug_player.tres" id="3_pyw81"]
[ext_resource type="Script" path="res://src/world/play_manager/practice_manager.gd" id="5_yk526"] [ext_resource type="Script" path="res://src/world/play_manager/practice_manager.gd" id="5_yk526"]
[ext_resource type="PackedScene" uid="uid://byvjsvavbg5xe" path="res://src/ui/menus/pause_menu/pause_menu.tscn" id="7_0gd42"] [ext_resource type="PackedScene" uid="uid://byvjsvavbg5xe" path="res://src/ui/menus/pause_menu/pause_menu.tscn" id="7_0gd42"]
@ -155,7 +155,7 @@ _data = {
[node name="World" type="Node" groups=["WorldGroup"]] [node name="World" type="Node" groups=["WorldGroup"]]
script = ExtResource("1_ybjyx") script = ExtResource("1_ybjyx")
initial_level = ExtResource("2_6ivfd") initial_level = ExtResource("2_l08a0")
manager = SubResource("Resource_hpydy") manager = SubResource("Resource_hpydy")
[node name="Level" type="Node3D" parent="."] [node name="Level" type="Node3D" parent="."]