authority/project/objects/player_vehicle.tscn

78 lines
3.3 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.36328125, 0.5884735, 0.9517517)
[sub_resource type="BoxShape3D" id="BoxShape3D_we6jx"]
size = Vector3(0.21679688, 0.29020843, 0.87223816)
[sub_resource type="BoxShape3D" id="BoxShape3D_kok0e"]
size = Vector3(0.8516388, 0.81409013, 1.4329796)
[sub_resource type="BoxShape3D" id="BoxShape3D_khxbi"]
size = Vector3(0.7451172, 0.59351885, 0.5995445)
[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=111626287 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.7048377, 0.074576735)
shape = SubResource("BoxShape3D_7eqww")
[node name="CollisionShape3D3" type="CollisionShape3D" parent="." unique_id=781828471]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.48627073, 0.8603005, 0.938115)
shape = SubResource("BoxShape3D_we6jx")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="." unique_id=1277628977]
transform = Transform3D(1, 0, 0, 0, 0.9983196, 0.057947356, 0, -0.057947356, 0.9983196, 0.2234863, 0.62375516, 0.6136677)
shape = SubResource("BoxShape3D_kok0e")
[node name="CollisionShape3D4" type="CollisionShape3D" parent="." unique_id=2030366048]
transform = Transform3D(1, 0, 0, 0, 0.72955376, -0.6839234, 0, 0.6839234, 0.72955376, 0.2234863, 0.5898677, -0.092960924)
shape = SubResource("BoxShape3D_khxbi")
[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.37474027, 0.7443161)
wheel_roll_influence = 0.3
wheel_radius = 0.389
wheel_rest_length = 0.05
wheel_friction_slip = 1.0
suspension_travel = 0.1
suspension_stiffness = 500.0
suspension_max_force = 10500.0
damping_compression = 10.0
damping_relaxation = 11.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.37716705, 0.9504494)
use_as_traction = true
wheel_roll_influence = 0.3
wheel_radius = 0.389
wheel_rest_length = 0.05
wheel_friction_slip = 1.0
suspension_travel = 0.1
suspension_stiffness = 500.0
suspension_max_force = 10500.0
damping_compression = 10.0
damping_relaxation = 11.0
[node name="FrontWheel" type="VehicleWheel3D" parent="." unique_id=1222187628]
transform = Transform3D(-1, 6.4255117e-09, 8.7186315e-08, 4.371139e-08, 0.90043265, 0.43499538, -7.5710346e-08, 0.43499538, -0.90043265, -0.479199, 0.3713468, -0.73007745)
use_as_steering = true
wheel_roll_influence = 0.3
wheel_radius = 0.389
wheel_rest_length = 0.05
wheel_friction_slip = 1.0
suspension_travel = 0.1
suspension_stiffness = 500.0
suspension_max_force = 10500.0
damping_compression = 10.0
damping_relaxation = 11.0