bugged-racing/vehicles/buggy.tscn

56 lines
1.5 KiB
Plaintext
Raw Normal View History

2021-11-05 22:11:26 +00:00
[gd_scene load_steps=4 format=2]
[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="BoxShape" id=1]
2021-11-05 22:21:35 +00:00
extents = Vector3( 2.48318, 1, 1.55313 )
2021-11-05 22:11:26 +00:00
[node name="buggy" instance=ExtResource( 1 )]
script = ExtResource( 3 )
[node name="left_front" parent="." index="2"]
use_as_traction = true
use_as_steering = true
wheel_roll_influence = 0.2
2021-11-05 22:21:35 +00:00
wheel_radius = 1.0
wheel_rest_length = 1.0
suspension_travel = 1.0
2021-11-05 22:11:26 +00:00
suspension_stiffness = 3.0
2021-11-05 22:21:35 +00:00
suspension_max_force = 10000.0
2021-11-05 22:11:26 +00:00
[node name="right_front" parent="." index="3"]
2021-11-05 22:21:35 +00:00
transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 2.327, 0.964, -2.94 )
2021-11-05 22:11:26 +00:00
use_as_traction = true
use_as_steering = true
wheel_roll_influence = 0.2
2021-11-05 22:21:35 +00:00
wheel_radius = 1.0
wheel_rest_length = 1.0
suspension_travel = 1.0
2021-11-05 22:11:26 +00:00
suspension_stiffness = 3.0
2021-11-05 22:21:35 +00:00
suspension_max_force = 10000.0
2021-11-05 22:11:26 +00:00
[node name="rear_left" parent="." index="4"]
use_as_traction = true
wheel_roll_influence = 0.2
2021-11-05 22:21:35 +00:00
wheel_radius = 1.0
wheel_rest_length = 1.0
wheel_friction_slip = 4.0
suspension_travel = 1.0
2021-11-05 22:11:26 +00:00
suspension_stiffness = 3.0
2021-11-05 22:21:35 +00:00
suspension_max_force = 10000.0
2021-11-05 22:11:26 +00:00
[node name="rear_right" parent="." index="5"]
use_as_traction = true
wheel_roll_influence = 0.2
2021-11-05 22:21:35 +00:00
wheel_radius = 1.0
wheel_rest_length = 1.0
wheel_friction_slip = 4.0
suspension_travel = 1.0
2021-11-05 22:11:26 +00:00
suspension_stiffness = 3.0
2021-11-05 22:21:35 +00:00
suspension_max_force = 10000.0
2021-11-05 22:11:26 +00:00
[node name="CollisionShape" type="CollisionShape" parent="." index="6"]
2021-11-05 22:21:35 +00:00
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.99308, 0 )
2021-11-05 22:11:26 +00:00
shape = SubResource( 1 )