bugged-racing/vehicles/buggy.tscn

69 lines
2.0 KiB
Plaintext
Raw Normal View History

2021-11-08 18:53:23 +00:00
[gd_scene load_steps=6 format=2]
2021-11-05 22:11:26 +00:00
[ext_resource path="res://assets/basic_buggy.glb" type="PackedScene" id=1]
[ext_resource path="res://vehicles/buggy.gd" type="Script" id=3]
[sub_resource type="Curve" id=2]
2021-11-08 18:53:23 +00:00
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.259434, 0.463636 ), 0.0, 0.0, 0, 0, Vector2( 0.59434, 0.872727 ), 0.0, 0.0, 0, 0, Vector2( 0.900943, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
2021-11-05 22:11:26 +00:00
[sub_resource type="BoxShape" id=1]
2021-11-06 22:08:55 +00:00
extents = Vector3( 0.521885, 0.334919, 1.78849 )
2021-11-05 22:11:26 +00:00
2021-11-08 18:53:23 +00:00
[sub_resource type="AudioStreamGenerator" id=3]
mix_rate = 5500.0
2021-11-05 22:11:26 +00:00
[node name="buggy" instance=ExtResource( 1 )]
2021-11-08 18:53:23 +00:00
mass = 150.0
2021-11-05 22:11:26 +00:00
script = ExtResource( 3 )
power_curve = SubResource( 2 )
2021-11-05 22:11:26 +00:00
2021-11-09 17:50:55 +00:00
[node name="front_left" parent="." index="1"]
2021-11-05 22:11:26 +00:00
use_as_traction = true
use_as_steering = true
2021-11-06 22:08:55 +00:00
wheel_radius = 0.6
wheel_rest_length = 0.4
2021-11-09 17:50:55 +00:00
wheel_friction_slip = 1.75
2021-11-05 22:21:35 +00:00
suspension_travel = 1.0
2021-11-09 17:50:55 +00:00
suspension_stiffness = 5.95
2021-11-05 22:11:26 +00:00
2021-11-06 22:08:55 +00:00
[node name="CollisionShape" type="CollisionShape" parent="." index="2"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.23227, 0 )
shape = SubResource( 1 )
2021-11-09 17:50:55 +00:00
[node name="front_right" parent="." index="4"]
2021-11-05 22:11:26 +00:00
use_as_traction = true
2021-11-08 21:59:13 +00:00
use_as_steering = true
2021-11-06 22:08:55 +00:00
wheel_radius = 0.6
wheel_rest_length = 0.4
2021-11-09 17:50:55 +00:00
wheel_friction_slip = 1.75
2021-11-05 22:21:35 +00:00
suspension_travel = 1.0
2021-11-09 17:50:55 +00:00
suspension_stiffness = 5.95
2021-11-05 22:11:26 +00:00
2021-11-08 21:59:13 +00:00
[node name="rear_left" parent="." index="5"]
2021-11-05 22:11:26 +00:00
use_as_traction = true
2021-11-06 22:08:55 +00:00
wheel_radius = 0.6
wheel_rest_length = 0.4
2021-11-09 17:50:55 +00:00
wheel_friction_slip = 1.8
2021-11-05 22:21:35 +00:00
suspension_travel = 1.0
2021-11-09 17:50:55 +00:00
suspension_stiffness = 5.95
2021-11-05 22:11:26 +00:00
2021-11-06 22:08:55 +00:00
[node name="rear_right" parent="." index="6"]
2021-11-05 22:11:26 +00:00
use_as_traction = true
2021-11-06 22:08:55 +00:00
wheel_radius = 0.6
wheel_rest_length = 0.4
2021-11-09 17:50:55 +00:00
wheel_friction_slip = 1.8
2021-11-05 22:21:35 +00:00
suspension_travel = 1.0
2021-11-09 17:50:55 +00:00
suspension_stiffness = 5.95
[node name="Info" type="Label" parent="." index="7"]
margin_right = 40.0
margin_bottom = 14.0
__meta__ = {
"_edit_use_anchors_": false
}
2021-11-08 18:53:23 +00:00
[node name="engine_sound_player" type="AudioStreamPlayer3D" parent="." index="8"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.14201, 0.968668 )
stream = SubResource( 3 )
unit_db = 14.0