-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathArcadeMotorcycle.tscn
60 lines (46 loc) · 1.97 KB
/
ArcadeMotorcycle.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[gd_scene load_steps=7 format=2]
[ext_resource path="res://suspension.gd" type="Script" id=1]
[ext_resource path="res://ArcadeVehicle.gd" type="Script" id=2]
[ext_resource path="res://Camera.gd" type="Script" id=3]
[sub_resource type="CubeMesh" id=1]
[sub_resource type="BoxShape" id=2]
[sub_resource type="CylinderMesh" id=3]
[node name="ArcadeMotorcycle" type="RigidBody"]
mass = 20.0
linear_damp = 0.2
angular_damp = 0.99
script = ExtResource( 2 )
VEHICLE_TYPE = 1
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 0.292047, 0, 0, 0, 0.222408, 0, 0, 0, 1, 0, 0, 0 )
mesh = SubResource( 1 )
material/0 = null
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 0.292, 0, 0, 0, 0.222, 0, 0, 0, 1, 0, 0, 0 )
shape = SubResource( 2 )
[node name="FrontLeft" type="RayCast" parent="."]
transform = Transform( 0.5, 0, 0, 0, 1, 0, 0, 0, 1, 0.176197, 0, 0.788491 )
enabled = true
script = ExtResource( 1 )
[node name="FrontRight" type="RayCast" parent="."]
transform = Transform( 0.5, 0, 0, 0, 1, 0, 0, 0, 1, -0.177495, 0, 0.788491 )
enabled = true
script = ExtResource( 1 )
[node name="Wheel" type="MeshInstance" parent="FrontRight"]
transform = Transform( -9.40727e-08, -0.0610132, 0, 0.236368, -4.06912e-09, 0, 0, 0, 0.218192, 0.318786, -0.652876, -0.0151303 )
mesh = SubResource( 3 )
material/0 = null
[node name="RearRight" type="RayCast" parent="."]
transform = Transform( 0.5, 0, 0, 0, 1, 0, 0, 0, 1, -0.177495, 0, -0.774569 )
enabled = true
script = ExtResource( 1 )
[node name="Wheel" type="MeshInstance" parent="RearRight"]
transform = Transform( -9.40727e-08, -0.0610132, 0, 0.236368, -4.06912e-09, 0, 0, 0, 0.218192, 0.318786, -0.652876, -0.00815272 )
mesh = SubResource( 3 )
material/0 = null
[node name="RearLeft" type="RayCast" parent="."]
transform = Transform( 0.5, 0, 0, 0, 1, 0, 0, 0, 1, 0.179848, 0, -0.774569 )
enabled = true
script = ExtResource( 1 )
[node name="Camera" type="Camera" parent="."]
script = ExtResource( 3 )