-
Notifications
You must be signed in to change notification settings - Fork 0
/
SpaceShip.tscn
48 lines (35 loc) · 1.47 KB
/
SpaceShip.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
[gd_scene load_steps=8 format=2]
[ext_resource path="res://SpaceShipController.gd" type="Script" id=1]
[ext_resource path="res://SpaceShipBody.gd" type="Script" id=2]
[sub_resource type="CylinderMesh" id=4]
[sub_resource type="SpatialMaterial" id=5]
albedo_color = Color( 1, 0, 0, 1 )
[sub_resource type="SpatialMaterial" id=7]
albedo_color = Color( 0.278431, 0.866667, 0.0392157, 1 )
[sub_resource type="PhysicsMaterial" id=6]
[sub_resource type="BoxShape" id=3]
extents = Vector3( 2, 2, 2 )
[node name="SpaceShip" type="Spatial"]
script = ExtResource( 1 )
[node name="Smoothing" type="Spatial" parent="."]
[node name="MouseReadout" type="MeshInstance" parent="Smoothing"]
transform = Transform( 0.025, 0, 0, 0, -1.09278e-09, -0.025, 0, 0.025, -1.09278e-09, 0, 0, 2.22643 )
mesh = SubResource( 4 )
material/0 = SubResource( 5 )
[node name="MouseCenter" type="MeshInstance" parent="Smoothing"]
transform = Transform( 0.025, 0, 0, 0, -1.09278e-09, -0.025, 0, 0.025, -1.09278e-09, 0, 0, 2.27967 )
mesh = SubResource( 4 )
material/0 = SubResource( 7 )
[node name="Camera" type="Camera" parent="Smoothing"]
transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 0, 0, 0 )
current = true
fov = 80.0
far = 8192.0
[node name="Body" type="RigidBody" parent="."]
mass = 1000.0
physics_material_override = SubResource( 6 )
contacts_reported = 16
contact_monitor = true
script = ExtResource( 2 )
[node name="CollisionShape" type="CollisionShape" parent="Body"]
shape = SubResource( 3 )