Improve vehicle suspension

soundtrack
Ensar Sarajčić 2021-11-05 23:21:35 +01:00
parent 0f8561636d
commit b76eced32e
2 changed files with 21 additions and 21 deletions

Binary file not shown.

View File

@ -4,52 +4,52 @@
[ext_resource path="res://vehicles/buggy.gd" type="Script" id=3] [ext_resource path="res://vehicles/buggy.gd" type="Script" id=3]
[sub_resource type="BoxShape" id=1] [sub_resource type="BoxShape" id=1]
extents = Vector3( 2.46457, 1, 1.77811 ) extents = Vector3( 2.48318, 1, 1.55313 )
[node name="buggy" instance=ExtResource( 1 )] [node name="buggy" instance=ExtResource( 1 )]
script = ExtResource( 3 ) script = ExtResource( 3 )
[node name="chassis" parent="." index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
[node name="left_front" parent="." index="2"] [node name="left_front" parent="." index="2"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.33227, 0.952938, -2.92949 )
use_as_traction = true use_as_traction = true
use_as_steering = true use_as_steering = true
wheel_roll_influence = 0.2 wheel_roll_influence = 0.2
wheel_rest_length = 0.5 wheel_radius = 1.0
suspension_travel = 0.5 wheel_rest_length = 1.0
suspension_travel = 1.0
suspension_stiffness = 3.0 suspension_stiffness = 3.0
suspension_max_force = 12000.0 suspension_max_force = 10000.0
[node name="right_front" parent="." index="3"] [node name="right_front" parent="." index="3"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.33227, 0.952938, -2.92949 ) transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 2.327, 0.964, -2.94 )
use_as_traction = true use_as_traction = true
use_as_steering = true use_as_steering = true
wheel_roll_influence = 0.2 wheel_roll_influence = 0.2
wheel_rest_length = 0.5 wheel_radius = 1.0
suspension_travel = 0.5 wheel_rest_length = 1.0
suspension_travel = 1.0
suspension_stiffness = 3.0 suspension_stiffness = 3.0
suspension_max_force = 12000.0 suspension_max_force = 10000.0
[node name="rear_left" parent="." index="4"] [node name="rear_left" parent="." index="4"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.33227, 0.952938, 2.92949 )
use_as_traction = true use_as_traction = true
wheel_roll_influence = 0.2 wheel_roll_influence = 0.2
wheel_rest_length = 0.5 wheel_radius = 1.0
suspension_travel = 0.5 wheel_rest_length = 1.0
wheel_friction_slip = 4.0
suspension_travel = 1.0
suspension_stiffness = 3.0 suspension_stiffness = 3.0
suspension_max_force = 12000.0 suspension_max_force = 10000.0
[node name="rear_right" parent="." index="5"] [node name="rear_right" parent="." index="5"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.33227, 0.952938, 2.92949 )
use_as_traction = true use_as_traction = true
wheel_roll_influence = 0.2 wheel_roll_influence = 0.2
wheel_rest_length = 0.5 wheel_radius = 1.0
suspension_travel = 0.5 wheel_rest_length = 1.0
wheel_friction_slip = 4.0
suspension_travel = 1.0
suspension_stiffness = 3.0 suspension_stiffness = 3.0
suspension_max_force = 12000.0 suspension_max_force = 10000.0
[node name="CollisionShape" type="CollisionShape" parent="." index="6"] [node name="CollisionShape" type="CollisionShape" parent="." index="6"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.36968, 0 ) transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.99308, 0 )
shape = SubResource( 1 ) shape = SubResource( 1 )