Add a bad desert themed track
parent
78f3233a60
commit
cbb70b89b6
|
@ -6,10 +6,11 @@ const BUGMOBILE = preload("res://vehicles/bugmobile.tscn")
|
||||||
const TEST_SCENE = preload("res://scenes/test_level.tscn")
|
const TEST_SCENE = preload("res://scenes/test_level.tscn")
|
||||||
const INFINITE_LOOP_SCENE = preload("res://scenes/infinite_loop_track_level.tscn")
|
const INFINITE_LOOP_SCENE = preload("res://scenes/infinite_loop_track_level.tscn")
|
||||||
const ROUNDING_ERROR = preload("res://scenes/rounding_error_track_level.tscn")
|
const ROUNDING_ERROR = preload("res://scenes/rounding_error_track_level.tscn")
|
||||||
|
const SCARAB = preload("res://scenes/scarab_track_level.tscn")
|
||||||
const GUI_SCENE = preload("res://player/gui.tscn")
|
const GUI_SCENE = preload("res://player/gui.tscn")
|
||||||
|
|
||||||
var vehicles = [BEETLE, BUGGY, BUGMOBILE]
|
var vehicles = [BEETLE, BUGGY, BUGMOBILE]
|
||||||
var tracks = [TEST_SCENE, INFINITE_LOOP_SCENE, ROUNDING_ERROR]
|
var tracks = [INFINITE_LOOP_SCENE, ROUNDING_ERROR, SCARAB, TEST_SCENE]
|
||||||
|
|
||||||
# gdlint: ignore=max-line-length
|
# gdlint: ignore=max-line-length
|
||||||
onready var vehicle_selector = $MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/VehicleSelector
|
onready var vehicle_selector = $MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/VehicleSelector
|
||||||
|
@ -23,9 +24,10 @@ func _ready() -> void:
|
||||||
vehicle_selector.add_item("Buggy")
|
vehicle_selector.add_item("Buggy")
|
||||||
vehicle_selector.add_item("Bugmobile")
|
vehicle_selector.add_item("Bugmobile")
|
||||||
|
|
||||||
track_selector.add_item("Test track")
|
|
||||||
track_selector.add_item("Infinite Loop")
|
track_selector.add_item("Infinite Loop")
|
||||||
track_selector.add_item("Rounding Error")
|
track_selector.add_item("Rounding Error")
|
||||||
|
track_selector.add_item("Scarab")
|
||||||
|
track_selector.add_item("Testing grounds")
|
||||||
|
|
||||||
|
|
||||||
func _on_StartButton_pressed() -> void:
|
func _on_StartButton_pressed() -> void:
|
||||||
|
|
|
@ -47,6 +47,10 @@ config/icon="res://icon.png"
|
||||||
|
|
||||||
GlobalSettings="*res://settings/GlobalSettings.gd"
|
GlobalSettings="*res://settings/GlobalSettings.gd"
|
||||||
|
|
||||||
|
[editor_plugins]
|
||||||
|
|
||||||
|
enabled=PoolStringArray( )
|
||||||
|
|
||||||
[gui]
|
[gui]
|
||||||
|
|
||||||
theme/use_hidpi=true
|
theme/use_hidpi=true
|
||||||
|
|
|
@ -1,12 +1,17 @@
|
||||||
[gd_scene load_steps=11 format=2]
|
[gd_scene load_steps=10 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://icon.png" type="Texture" id=1]
|
|
||||||
[ext_resource path="res://scenes/base_track_level.tscn" type="PackedScene" id=2]
|
[ext_resource path="res://scenes/base_track_level.tscn" type="PackedScene" id=2]
|
||||||
|
|
||||||
[sub_resource type="PlaneMesh" id=11]
|
[sub_resource type="PlaneMesh" id=11]
|
||||||
|
|
||||||
[sub_resource type="SpatialMaterial" id=12]
|
[sub_resource type="SpatialMaterial" id=19]
|
||||||
albedo_texture = ExtResource( 1 )
|
albedo_color = Color( 0.0352941, 0.835294, 0.968627, 1 )
|
||||||
|
metallic = 1.0
|
||||||
|
emission_enabled = true
|
||||||
|
emission = Color( 0.403922, 1, 0.956863, 1 )
|
||||||
|
emission_energy = 0.1
|
||||||
|
emission_operator = 0
|
||||||
|
emission_on_uv2 = false
|
||||||
|
|
||||||
[sub_resource type="ConcavePolygonShape" id=13]
|
[sub_resource type="ConcavePolygonShape" id=13]
|
||||||
data = PoolVector3Array( 1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, 1, -1, 0, -1, 1, 0, -1 )
|
data = PoolVector3Array( 1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, 1, -1, 0, -1, 1, 0, -1 )
|
||||||
|
@ -49,7 +54,7 @@ transform = Transform( 99.9785, 0, 0, 0, 99.9785, 0, 0, 0, 99.9785, 0, 0, 0 )
|
||||||
[node name="MeshInstance" type="MeshInstance" parent="StaticBody" index="0"]
|
[node name="MeshInstance" type="MeshInstance" parent="StaticBody" index="0"]
|
||||||
transform = Transform( 6.13726, 0, 0, 0, 6.13726, 0, 0, 0, 6.13726, 0, 0, 0 )
|
transform = Transform( 6.13726, 0, 0, 0, 6.13726, 0, 0, 0, 6.13726, 0, 0, 0 )
|
||||||
mesh = SubResource( 11 )
|
mesh = SubResource( 11 )
|
||||||
material/0 = SubResource( 12 )
|
material/0 = SubResource( 19 )
|
||||||
|
|
||||||
[node name="CollisionShape" type="CollisionShape" parent="StaticBody" index="1"]
|
[node name="CollisionShape" type="CollisionShape" parent="StaticBody" index="1"]
|
||||||
transform = Transform( 6.13726, 0, 0, 0, 6.13726, 0, 0, 0, 6.13726, 0, 0, 0 )
|
transform = Transform( 6.13726, 0, 0, 0, 6.13726, 0, 0, 0, 6.13726, 0, 0, 0 )
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -5,7 +5,7 @@
|
||||||
[ext_resource path="res://vehicles/tire_smoke.tscn" type="PackedScene" id=3]
|
[ext_resource path="res://vehicles/tire_smoke.tscn" type="PackedScene" id=3]
|
||||||
|
|
||||||
[sub_resource type="Curve" id=3]
|
[sub_resource type="Curve" id=3]
|
||||||
_data = [ Vector2( 0, 0 ), 0.0, 2.58337, 0, 1, Vector2( 0.221698, 0.572727 ), 2.58337, 0.0, 1, 0, Vector2( 0.830189, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
|
_data = [ Vector2( 0, 0 ), 0.0, 3.60634, 0, 1, Vector2( 0.15566, 0.561364 ), 1.56017, 1.56017, 0, 0, Vector2( 0.830189, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
|
||||||
|
|
||||||
[sub_resource type="Curve" id=4]
|
[sub_resource type="Curve" id=4]
|
||||||
_data = [ Vector2( 0, 0.492045 ), 0.0, 0.0, 0, 0, Vector2( 0.15566, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.212264, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.29717, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.410377, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.481132, 0.701136 ), 0.0, 0.0, 0, 0, Vector2( 0.566038, 0.282955 ), 0.0, 0.0, 0, 0, Vector2( 0.589623, 0.6375 ), 0.0, 0.0, 0, 0, Vector2( 0.660377, 0.373864 ), 0.0, 0.0, 0, 0, Vector2( 0.669811, 0.5375 ), 0.0, 0.0, 0, 0, Vector2( 0.764151, 0.0284091 ), 0.0, 0.0, 0, 0, Vector2( 0.811321, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.938679, 0 ), 0.0, 0.0, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ]
|
_data = [ Vector2( 0, 0.492045 ), 0.0, 0.0, 0, 0, Vector2( 0.15566, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.212264, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.29717, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.410377, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.481132, 0.701136 ), 0.0, 0.0, 0, 0, Vector2( 0.566038, 0.282955 ), 0.0, 0.0, 0, 0, Vector2( 0.589623, 0.6375 ), 0.0, 0.0, 0, 0, Vector2( 0.660377, 0.373864 ), 0.0, 0.0, 0, 0, Vector2( 0.669811, 0.5375 ), 0.0, 0.0, 0, 0, Vector2( 0.764151, 0.0284091 ), 0.0, 0.0, 0, 0, Vector2( 0.811321, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.938679, 0 ), 0.0, 0.0, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ]
|
||||||
|
@ -42,17 +42,17 @@ radial_segments = 4
|
||||||
rings = 3
|
rings = 3
|
||||||
|
|
||||||
[node name="beetlecar" groups=["car"] instance=ExtResource( 2 )]
|
[node name="beetlecar" groups=["car"] instance=ExtResource( 2 )]
|
||||||
mass = 175.0
|
mass = 200.0
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
max_steer_angle = 18.0
|
max_steer_angle = 18.0
|
||||||
speed_steer_angle = 8.0
|
speed_steer_angle = 8.0
|
||||||
max_steer_speed = 60.0
|
max_steer_speed = 60.0
|
||||||
max_steer_input = 60.0
|
max_steer_input = 60.0
|
||||||
max_engine_force = 100.0
|
max_engine_force = 90.0
|
||||||
max_brake_force = 60.0
|
max_brake_force = 60.0
|
||||||
base_engine_pitch = 0.38
|
base_engine_pitch = 0.38
|
||||||
gear_ratios = [ 2.95, 2.2, 1.76, 1.43, 1.25, 1.0 ]
|
gear_ratios = [ 2.95, 2.2, 1.76, 1.43, 1.25, 1.0 ]
|
||||||
final_drive = 5.0
|
final_drive = 4.0
|
||||||
max_rpm = 8000.0
|
max_rpm = 8000.0
|
||||||
gear_switch_time = 0.5
|
gear_switch_time = 0.5
|
||||||
power_curve = SubResource( 3 )
|
power_curve = SubResource( 3 )
|
||||||
|
@ -60,22 +60,24 @@ sound_curve = SubResource( 4 )
|
||||||
|
|
||||||
[node name="rear_right" parent="." index="0"]
|
[node name="rear_right" parent="." index="0"]
|
||||||
use_as_traction = true
|
use_as_traction = true
|
||||||
|
wheel_roll_influence = 0.06
|
||||||
wheel_radius = 0.38
|
wheel_radius = 0.38
|
||||||
wheel_rest_length = 0.35
|
wheel_rest_length = 0.3
|
||||||
wheel_friction_slip = 5.0
|
wheel_friction_slip = 12.0
|
||||||
suspension_travel = 0.4
|
suspension_travel = 0.3
|
||||||
suspension_stiffness = 8.0
|
suspension_stiffness = 12.0
|
||||||
damping_compression = 0.75
|
damping_compression = 0.75
|
||||||
damping_relaxation = 0.8
|
damping_relaxation = 0.8
|
||||||
|
|
||||||
[node name="rear_left" parent="." index="3"]
|
[node name="rear_left" parent="." index="3"]
|
||||||
transform = Transform( 1, 0, 0, 0, 1, -1.50996e-07, 0, 1.50996e-07, 1, 0.621506, 0.375, -0.83483 )
|
transform = Transform( 1, 0, 0, 0, 1, -1.50996e-07, 0, 1.50996e-07, 1, 0.621506, 0.375, -0.83483 )
|
||||||
use_as_traction = true
|
use_as_traction = true
|
||||||
|
wheel_roll_influence = 0.06
|
||||||
wheel_radius = 0.38
|
wheel_radius = 0.38
|
||||||
wheel_rest_length = 0.35
|
wheel_rest_length = 0.3
|
||||||
wheel_friction_slip = 5.0
|
wheel_friction_slip = 12.0
|
||||||
suspension_travel = 0.4
|
suspension_travel = 0.3
|
||||||
suspension_stiffness = 8.0
|
suspension_stiffness = 12.0
|
||||||
damping_compression = 0.75
|
damping_compression = 0.75
|
||||||
damping_relaxation = 0.8
|
damping_relaxation = 0.8
|
||||||
|
|
||||||
|
@ -84,22 +86,24 @@ transform = Transform( -1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
|
||||||
|
|
||||||
[node name="front_right" parent="." index="4"]
|
[node name="front_right" parent="." index="4"]
|
||||||
use_as_steering = true
|
use_as_steering = true
|
||||||
|
wheel_roll_influence = 0.06
|
||||||
wheel_radius = 0.38
|
wheel_radius = 0.38
|
||||||
wheel_rest_length = 0.35
|
wheel_rest_length = 0.3
|
||||||
wheel_friction_slip = 5.0
|
wheel_friction_slip = 10.0
|
||||||
suspension_travel = 0.4
|
suspension_travel = 0.3
|
||||||
suspension_stiffness = 8.0
|
suspension_stiffness = 12.0
|
||||||
damping_compression = 0.75
|
damping_compression = 0.75
|
||||||
damping_relaxation = 0.8
|
damping_relaxation = 0.8
|
||||||
|
|
||||||
[node name="front_left" parent="." index="5"]
|
[node name="front_left" parent="." index="5"]
|
||||||
transform = Transform( 1, 0, 0, 0, 1, -1.50996e-07, 0, 1.50996e-07, 1, 0.621506, 0.375, 1.19336 )
|
transform = Transform( 1, 0, 0, 0, 1, -1.50996e-07, 0, 1.50996e-07, 1, 0.621506, 0.375, 1.19336 )
|
||||||
use_as_steering = true
|
use_as_steering = true
|
||||||
|
wheel_roll_influence = 0.06
|
||||||
wheel_radius = 0.38
|
wheel_radius = 0.38
|
||||||
wheel_rest_length = 0.35
|
wheel_rest_length = 0.3
|
||||||
wheel_friction_slip = 5.0
|
wheel_friction_slip = 10.0
|
||||||
suspension_travel = 0.4
|
suspension_travel = 0.3
|
||||||
suspension_stiffness = 8.0
|
suspension_stiffness = 12.0
|
||||||
damping_compression = 0.75
|
damping_compression = 0.75
|
||||||
damping_relaxation = 0.8
|
damping_relaxation = 0.8
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
[ext_resource path="res://vehicles/vehicle.gd" type="Script" id=3]
|
[ext_resource path="res://vehicles/vehicle.gd" type="Script" id=3]
|
||||||
|
|
||||||
[sub_resource type="Curve" id=2]
|
[sub_resource type="Curve" id=2]
|
||||||
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.0660377, 0.243255 ), 0.0, 0.0, 0, 0, Vector2( 0.240566, 0.315982 ), 0.0, 0.0, 0, 0, Vector2( 0.45283, 0.927273 ), 0.0, 0.0, 0, 0, Vector2( 0.891509, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
|
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.0660377, 0.243255 ), 0.0, 0.0, 0, 0, Vector2( 0.25, 0.563636 ), 4.02975, 4.02975, 0, 0, Vector2( 0.518868, 0.761364 ), 3.22818, 3.22818, 0, 0, Vector2( 0.849057, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
|
||||||
|
|
||||||
[sub_resource type="Curve" id=4]
|
[sub_resource type="Curve" id=4]
|
||||||
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.0849057, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.15566, 0.746591 ), 0.0, 0.0, 0, 0, Vector2( 0.349057, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.382075, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.400943, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.438679, 0 ), 0.0, 0.0, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ]
|
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.0849057, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.15566, 0.746591 ), 0.0, 0.0, 0, 0, Vector2( 0.349057, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.382075, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.400943, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.438679, 0 ), 0.0, 0.0, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ]
|
||||||
|
@ -54,6 +54,8 @@ base_engine_pitch = 0.45
|
||||||
gear_ratios = [ 3.4, 2.5, 2.0, 1.5, 1.25, 1.0 ]
|
gear_ratios = [ 3.4, 2.5, 2.0, 1.5, 1.25, 1.0 ]
|
||||||
power_curve = SubResource( 2 )
|
power_curve = SubResource( 2 )
|
||||||
sound_curve = SubResource( 4 )
|
sound_curve = SubResource( 4 )
|
||||||
|
automatic_gear_up_threshold = 0.85
|
||||||
|
automatic_gear_down_threshold = 0.4
|
||||||
|
|
||||||
[node name="front_left" parent="." index="1"]
|
[node name="front_left" parent="." index="1"]
|
||||||
use_as_traction = true
|
use_as_traction = true
|
||||||
|
@ -91,7 +93,7 @@ transform = Transform( -1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
|
||||||
use_as_traction = true
|
use_as_traction = true
|
||||||
wheel_radius = 0.6
|
wheel_radius = 0.6
|
||||||
wheel_rest_length = 0.68
|
wheel_rest_length = 0.68
|
||||||
wheel_friction_slip = 1.95
|
wheel_friction_slip = 1.9
|
||||||
suspension_travel = 1.2
|
suspension_travel = 1.2
|
||||||
suspension_stiffness = 4.5
|
suspension_stiffness = 4.5
|
||||||
suspension_max_force = 14000.0
|
suspension_max_force = 14000.0
|
||||||
|
@ -103,7 +105,7 @@ transform = Transform( 1, 0, 0, 0, 1, -1.50996e-07, 0, 1.50996e-07, 1, -0.950755
|
||||||
use_as_traction = true
|
use_as_traction = true
|
||||||
wheel_radius = 0.6
|
wheel_radius = 0.6
|
||||||
wheel_rest_length = 0.68
|
wheel_rest_length = 0.68
|
||||||
wheel_friction_slip = 1.95
|
wheel_friction_slip = 1.9
|
||||||
suspension_travel = 1.2
|
suspension_travel = 1.2
|
||||||
suspension_stiffness = 4.5
|
suspension_stiffness = 4.5
|
||||||
suspension_max_force = 14000.0
|
suspension_max_force = 14000.0
|
||||||
|
|
|
@ -1,17 +1,14 @@
|
||||||
[gd_scene load_steps=16 format=2]
|
[gd_scene load_steps=15 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://vehicles/tire_smoke.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://vehicles/tire_smoke.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://assets/bugmobile.glb" type="PackedScene" id=2]
|
[ext_resource path="res://assets/bugmobile.glb" type="PackedScene" id=2]
|
||||||
[ext_resource path="res://vehicles/vehicle.gd" type="Script" id=3]
|
[ext_resource path="res://vehicles/vehicle.gd" type="Script" id=3]
|
||||||
|
|
||||||
[sub_resource type="Curve" id=21]
|
|
||||||
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.811321, 0.836364 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.581818 ), 0.0, 0.0, 0, 0 ]
|
|
||||||
|
|
||||||
[sub_resource type="Curve" id=18]
|
[sub_resource type="Curve" id=18]
|
||||||
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.179245, 0.584091 ), -0.306612, -0.306612, 0, 0, Vector2( 0.603774, 0.954545 ), 0.0, 0.0, 0, 0, Vector2( 0.806604, 0.989773 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
|
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.179245, 0.584091 ), 4.91185, 4.91185, 0, 0, Vector2( 0.603774, 0.954545 ), 6.05975, 6.05975, 0, 0, Vector2( 0.806604, 0.989773 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
|
||||||
|
|
||||||
[sub_resource type="Curve" id=19]
|
[sub_resource type="Curve" id=19]
|
||||||
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.127358, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.174528, 0.65 ), 0.0, 0.0, 0, 0, Vector2( 0.212264, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.353774, 0.35 ), 0.0, 0.0, 0, 0, Vector2( 0.363208, 0.968182 ), 0.0, 0.0, 0, 0, Vector2( 0.485849, 0.313636 ), 0.0, 0.0, 0, 0, Vector2( 0.627358, 0.140909 ), 0.0, 0.0, 0, 0, Vector2( 0.721698, 0.259091 ), 0.0, 0.0, 0, 0, Vector2( 0.783019, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.872642, 0.794318 ), 0.0, 0.0, 0, 0, Vector2( 0.915094, 0.248864 ), 0.0, 0.0, 0, 0, Vector2( 0.933962, 0.5125 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.476136 ), 0.0, 0.0, 0, 0 ]
|
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.127358, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.174528, 0.65 ), 0.0, 0.0, 0, 0, Vector2( 0.212264, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.353774, 0.35 ), 0.0, 0.0, 0, 0, Vector2( 0.363208, 0.968182 ), 0.0, 0.0, 0, 0, Vector2( 0.485849, 0.313636 ), 0.0, 0.0, 0, 0, Vector2( 0.627358, 0.140909 ), 0.0, 0.0, 0, 0, Vector2( 0.721698, 0.259091 ), 0.0, 0.0, 0, 0, Vector2( 0.745283, 0.623864 ), 0.0, 0.0, 0, 0, Vector2( 0.872642, 0.794318 ), 0.0, 0.0, 0, 0, Vector2( 0.915094, 0.248864 ), 0.0, 0.0, 0, 0, Vector2( 0.933962, 0.5125 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape" id=20]
|
[sub_resource type="CapsuleShape" id=20]
|
||||||
radius = 0.274866
|
radius = 0.274866
|
||||||
|
@ -55,10 +52,11 @@ rings = 3
|
||||||
[node name="bugmobile" groups=["car"] instance=ExtResource( 2 )]
|
[node name="bugmobile" groups=["car"] instance=ExtResource( 2 )]
|
||||||
mass = 600.0
|
mass = 600.0
|
||||||
script = ExtResource( 3 )
|
script = ExtResource( 3 )
|
||||||
max_steer_angle = 20.0
|
max_steer_angle = 16.0
|
||||||
speed_steer_angle = 9.0
|
speed_steer_angle = 8.0
|
||||||
steer_curve = SubResource( 21 )
|
max_steer_speed = 60.0
|
||||||
max_engine_force = 280.0
|
max_steer_input = 50.0
|
||||||
|
max_engine_force = 320.0
|
||||||
max_brake_force = 95.0
|
max_brake_force = 95.0
|
||||||
throttle_power = 8000.0
|
throttle_power = 8000.0
|
||||||
max_rpm_loss_ps = 2200.0
|
max_rpm_loss_ps = 2200.0
|
||||||
|
|
Loading…
Reference in New Issue