chore: adjusted vehicle physics
This commit is contained in:
parent
bc7fdda2bc
commit
48b8e46448
1 changed files with 39 additions and 25 deletions
|
|
@ -4,10 +4,16 @@
|
||||||
[ext_resource type="PackedScene" uid="uid://grb3q5nd2uds" path="res://assets/characters/player_fem/character_fem.blend" id="2_buo3h"]
|
[ext_resource type="PackedScene" uid="uid://grb3q5nd2uds" path="res://assets/characters/player_fem/character_fem.blend" id="2_buo3h"]
|
||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_7eqww"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_7eqww"]
|
||||||
size = Vector3(0.33203125, 0.21619874, 1.8991699)
|
size = Vector3(0.36328125, 0.5884735, 0.9517517)
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_we6jx"]
|
||||||
|
size = Vector3(0.21679688, 0.29020843, 0.87223816)
|
||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_kok0e"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_kok0e"]
|
||||||
size = Vector3(0.84503174, 0.7788345, 1.4382019)
|
size = Vector3(0.8516388, 0.81409013, 1.4329796)
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_khxbi"]
|
||||||
|
size = Vector3(0.7451172, 0.59351885, 0.5995445)
|
||||||
|
|
||||||
[node name="PlayerVehicle" type="VehicleBody3D" unique_id=2037675333]
|
[node name="PlayerVehicle" type="VehicleBody3D" unique_id=2037675333]
|
||||||
mass = 400.0
|
mass = 400.0
|
||||||
|
|
@ -18,44 +24,52 @@ transform = Transform3D(1.0000004, 0, 0, 0, 1.0000001, 0, 0, 0, 0.9999994, -0.48
|
||||||
[node name="character_fem" parent="bike" unique_id=1503004367 instance=ExtResource("2_buo3h")]
|
[node name="character_fem" parent="bike" unique_id=1503004367 instance=ExtResource("2_buo3h")]
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1803684826]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1803684826]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.48627073, 0.8909751, 0.39209688)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.48627073, 0.7048377, 0.074576735)
|
||||||
shape = SubResource("BoxShape3D_7eqww")
|
shape = SubResource("BoxShape3D_7eqww")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D3" type="CollisionShape3D" parent="." unique_id=781828471]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.48627073, 0.8603005, 0.938115)
|
||||||
|
shape = SubResource("BoxShape3D_we6jx")
|
||||||
|
|
||||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="." unique_id=1277628977]
|
[node name="CollisionShape3D2" type="CollisionShape3D" parent="." unique_id=1277628977]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.092176795, 0.6514785, 0.43324983)
|
transform = Transform3D(1, 0, 0, 0, 0.9983196, 0.057947356, 0, -0.057947356, 0.9983196, 0.2234863, 0.62375516, 0.6136677)
|
||||||
shape = SubResource("BoxShape3D_kok0e")
|
shape = SubResource("BoxShape3D_kok0e")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D4" type="CollisionShape3D" parent="." unique_id=2030366048]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 0.72955376, -0.6839234, 0, 0.6839234, 0.72955376, 0.2234863, 0.5898677, -0.092960924)
|
||||||
|
shape = SubResource("BoxShape3D_khxbi")
|
||||||
|
|
||||||
[node name="SidecarWheel" type="VehicleWheel3D" parent="." unique_id=1869360183]
|
[node name="SidecarWheel" type="VehicleWheel3D" parent="." unique_id=1869360183]
|
||||||
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, 0.7563137, 0.35633683, 0.74285626)
|
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, 0.7563137, 0.38881683, 0.74285626)
|
||||||
wheel_roll_influence = 0.0
|
wheel_roll_influence = 1.0
|
||||||
wheel_radius = 0.389
|
wheel_radius = 0.389
|
||||||
wheel_rest_length = 0.1
|
wheel_rest_length = 0.05
|
||||||
suspension_travel = 0.1
|
suspension_travel = 0.1
|
||||||
suspension_stiffness = 80.0
|
suspension_stiffness = 500.0
|
||||||
suspension_max_force = 2400.0
|
suspension_max_force = 10500.0
|
||||||
damping_compression = 0.8
|
damping_compression = 10.0
|
||||||
damping_relaxation = 1.0
|
damping_relaxation = 11.0
|
||||||
|
|
||||||
[node name="BackWheel" type="VehicleWheel3D" parent="." unique_id=128773497]
|
[node name="BackWheel" type="VehicleWheel3D" parent="." unique_id=128773497]
|
||||||
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, -0.4791991, 0.35633683, 0.9504494)
|
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, -0.4791991, 0.38881683, 0.9504494)
|
||||||
use_as_traction = true
|
use_as_traction = true
|
||||||
wheel_roll_influence = 0.0
|
wheel_roll_influence = 1.0
|
||||||
wheel_radius = 0.389
|
wheel_radius = 0.389
|
||||||
wheel_rest_length = 0.1
|
wheel_rest_length = 0.05
|
||||||
suspension_travel = 0.1
|
suspension_travel = 0.1
|
||||||
suspension_stiffness = 80.0
|
suspension_stiffness = 500.0
|
||||||
suspension_max_force = 2400.0
|
suspension_max_force = 10500.0
|
||||||
damping_compression = 0.8
|
damping_compression = 10.0
|
||||||
damping_relaxation = 1.0
|
damping_relaxation = 11.0
|
||||||
|
|
||||||
[node name="FrontWheel" type="VehicleWheel3D" parent="." unique_id=1222187628]
|
[node name="FrontWheel" type="VehicleWheel3D" parent="." unique_id=1222187628]
|
||||||
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, -0.479199, 0.35633683, -0.73735744)
|
transform = Transform3D(-1, 6.4255117e-09, 8.7186315e-08, 4.371139e-08, 0.90043265, 0.43499538, -7.5710346e-08, 0.43499538, -0.90043265, -0.479199, 0.38881683, -0.73735744)
|
||||||
use_as_steering = true
|
use_as_steering = true
|
||||||
wheel_roll_influence = 0.0
|
wheel_roll_influence = 1.0
|
||||||
wheel_radius = 0.389
|
wheel_radius = 0.389
|
||||||
wheel_rest_length = 0.1
|
wheel_rest_length = 0.05
|
||||||
suspension_travel = 0.1
|
suspension_travel = 0.1
|
||||||
suspension_stiffness = 80.0
|
suspension_stiffness = 500.0
|
||||||
suspension_max_force = 2400.0
|
suspension_max_force = 10500.0
|
||||||
damping_compression = 0.8
|
damping_compression = 10.0
|
||||||
damping_relaxation = 1.0
|
damping_relaxation = 11.0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue