[gd_scene format=3 uid="uid://uj3g2h3yfv4f"] [ext_resource type="Script" uid="uid://4qf5yinepytc" path="res://scenes/Vehicles/car.gd" id="1_kbd20"] [ext_resource type="PackedScene" uid="uid://dvgiooankbnw3" path="res://assets/models/vehicles/doge/doge-body.glb" id="2_doge_body"] [ext_resource type="PackedScene" uid="uid://civr7hlbf2kqb" path="res://assets/models/vehicles/doge/Wheel.glb" id="3_doge_wheel"] [ext_resource type="AudioStream" path="res://assets/audio/vehicles/car/car_engine_idle_loop.wav" id="4_engine_idle"] [ext_resource type="AudioStream" path="res://assets/audio/vehicles/car/car_engine_drive_loop.wav" id="5_engine_drive"] [ext_resource type="AudioStream" path="res://assets/audio/vehicles/car/car_engine_accel_loop.wav" id="6_engine_accel"] [ext_resource type="AudioStream" path="res://assets/audio/vehicles/car/car_enter.wav" id="7_enter"] [ext_resource type="AudioStream" path="res://assets/audio/vehicles/car/car_exit.wav" id="8_exit"] [ext_resource type="AudioStream" path="res://assets/audio/vehicles/car/car_brake.wav" id="9_brake"] [ext_resource type="AudioStream" path="res://assets/audio/vehicles/car/car_hit.wav" id="10_hit"] [sub_resource type="BoxShape3D" id="BoxShape3D_body_center"] size = Vector3(1.9717, 1, 2.08592) [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_body_rear"] radius = 0.291194 [sub_resource type="BoxShape3D" id="BoxShape3D_body_mid"] size = Vector3(0.542114, 1.7092, 1.53265) [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_body_front"] radius = 0.363529 [sub_resource type="BoxShape3D" id="BoxShape3D_interact"] size = Vector3(3.2, 2.4, 6) [node name="Car" type="RigidBody3D" unique_id=347281788] script = ExtResource("1_kbd20") seat_path = NodePath("Seat") exit_path = NodePath("Exit") camera_path = NodePath("CarCamera") interact_area_path = NodePath("InteractArea") [node name="CollisionCenter" type="CollisionShape3D" parent="." unique_id=1615707894] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.062) shape = SubResource("BoxShape3D_body_center") [node name="CollisionRear" type="CollisionShape3D" parent="." unique_id=1572737985] transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0, 0.45, -2.08) shape = SubResource("CapsuleShape3D_body_rear") [node name="CollisionMid" type="CollisionShape3D" parent="." unique_id=1115594476] transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, -0.001, 0.45, -1.11) shape = SubResource("BoxShape3D_body_mid") [node name="CollisionFront" type="CollisionShape3D" parent="." unique_id=601157615] transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, -0.001, 0.45, 1.998) shape = SubResource("CapsuleShape3D_body_front") [node name="DogeBody" parent="." unique_id=1839362199 instance=ExtResource("2_doge_body")] transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0) [node name="WheelFrontRight" parent="." unique_id=2135146556 instance=ExtResource("3_doge_wheel")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.854765, 0.340338, -1.50006) [node name="WheelFrontLeft" parent="." unique_id=595413685 instance=ExtResource("3_doge_wheel")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.949166, 0.340338, -1.50006) [node name="WheelRearRight" parent="." unique_id=521166039 instance=ExtResource("3_doge_wheel")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.854765, 0.286814, 1.26411) [node name="WheelRearLeft" parent="." unique_id=859253276 instance=ExtResource("3_doge_wheel")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.949166, 0.286814, 1.26411) [node name="InteractArea" type="Area3D" parent="." unique_id=1982997129] [node name="CollisionShape3D" type="CollisionShape3D" parent="InteractArea" unique_id=2089774080] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0) shape = SubResource("BoxShape3D_interact") [node name="Seat" type="Node3D" parent="." unique_id=1298631680] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0) [node name="Exit" type="Node3D" parent="." unique_id=1734274203] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.3, 0, 0) [node name="CarCamera" type="Camera3D" parent="." unique_id=1783366397] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 4.2) [node name="Audio" type="Node3D" parent="."] [node name="EngineIdle" type="AudioStreamPlayer3D" parent="Audio"] stream = ExtResource("4_engine_idle") volume_db = -80.0 bus = &"SFX" unit_size = 6.0 max_distance = 45.0 [node name="EngineDrive" type="AudioStreamPlayer3D" parent="Audio"] stream = ExtResource("5_engine_drive") volume_db = -80.0 bus = &"SFX" unit_size = 6.0 max_distance = 55.0 [node name="EngineAccel" type="AudioStreamPlayer3D" parent="Audio"] stream = ExtResource("6_engine_accel") volume_db = -80.0 bus = &"SFX" unit_size = 6.0 max_distance = 60.0 [node name="Enter" type="AudioStreamPlayer3D" parent="Audio"] stream = ExtResource("7_enter") volume_db = -7.0 bus = &"SFX" unit_size = 5.0 max_distance = 25.0 [node name="Exit" type="AudioStreamPlayer3D" parent="Audio"] stream = ExtResource("8_exit") volume_db = -7.0 bus = &"SFX" unit_size = 5.0 max_distance = 25.0 [node name="Brake" type="AudioStreamPlayer3D" parent="Audio"] stream = ExtResource("9_brake") volume_db = -5.0 bus = &"SFX" unit_size = 5.0 max_distance = 35.0 [node name="Hit" type="AudioStreamPlayer3D" parent="Audio"] stream = ExtResource("10_hit") volume_db = -6.0 bus = &"SFX" unit_size = 7.0 max_distance = 45.0