authority/project/objects/player_vehicle.tscn

61 lines
2.5 KiB
Text

[gd_scene format=3 uid="uid://bedet0our63p0"]
[ext_resource type="PackedScene" uid="uid://dkq8b07op54lx" path="res://assets/vehicles/bike.blend" id="1_qt1cm"]
[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"]
size = Vector3(0.33203125, 0.21619874, 1.8991699)
[sub_resource type="BoxShape3D" id="BoxShape3D_kok0e"]
size = Vector3(0.84503174, 0.7788345, 1.4382019)
[node name="PlayerVehicle" type="VehicleBody3D" unique_id=2037675333]
mass = 400.0
[node name="bike" parent="." unique_id=1819523012 instance=ExtResource("1_qt1cm")]
transform = Transform3D(1.0000004, 0, 0, 0, 1.0000001, 0, 0, 0, 0.9999994, -0.48627073, 0, 0)
[node name="character_fem" parent="bike" unique_id=1503004367 instance=ExtResource("2_buo3h")]
[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)
shape = SubResource("BoxShape3D_7eqww")
[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)
shape = SubResource("BoxShape3D_kok0e")
[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)
wheel_roll_influence = 0.0
wheel_radius = 0.389
wheel_rest_length = 0.1
suspension_travel = 0.1
suspension_stiffness = 80.0
suspension_max_force = 2400.0
damping_compression = 0.8
damping_relaxation = 1.0
[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)
use_as_traction = true
wheel_roll_influence = 0.0
wheel_radius = 0.389
wheel_rest_length = 0.1
suspension_travel = 0.1
suspension_stiffness = 80.0
suspension_max_force = 2400.0
damping_compression = 0.8
damping_relaxation = 1.0
[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)
use_as_steering = true
wheel_roll_influence = 0.0
wheel_radius = 0.389
wheel_rest_length = 0.1
suspension_travel = 0.1
suspension_stiffness = 80.0
suspension_max_force = 2400.0
damping_compression = 0.8
damping_relaxation = 1.0