-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBar.tscn
62 lines (51 loc) · 1.94 KB
/
Bar.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
61
62
[gd_scene load_steps=8 format=2]
[ext_resource path="res://meshes/handle.obj" type="ArrayMesh" id=1]
[ext_resource path="res://Bar.gd" type="Script" id=2]
[ext_resource path="res://Hand.tscn" type="PackedScene" id=3]
[sub_resource type="SpatialMaterial" id=1]
albedo_color = Color( 0.878431, 0.878431, 0.878431, 1 )
metallic = 1.0
roughness = 0.09
[sub_resource type="SpatialMaterial" id=2]
albedo_color = Color( 0.470588, 0.658824, 0.87451, 1 )
metallic = 1.0
roughness = 0.17
emission_enabled = true
emission = Color( 0.478431, 0.560784, 0.835294, 1 )
emission_energy = 1.25
emission_operator = 0
emission_on_uv2 = false
[sub_resource type="SpatialMaterial" id=3]
albedo_color = Color( 0.34902, 0.917647, 0.286275, 1 )
roughness = 0.15
emission_enabled = true
emission = Color( 0.568627, 0.698039, 0.0313726, 1 )
emission_energy = 1.0
emission_operator = 0
emission_on_uv2 = false
[sub_resource type="CylinderShape" id=4]
margin = 0.01
radius = 0.6
height = 2.78096
[node name="Bar" type="KinematicBody"]
script = ExtResource( 2 )
inactive_material = SubResource( 1 )
active_material_analog_0 = SubResource( 2 )
active_material_analog_1 = SubResource( 3 )
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 0.007, 0, 0, 0, -8.14603e-08, -0.008, 0, 0.5, -1.30337e-09, 0, 0, 0 )
shape = SubResource( 4 )
[node name="CSGCylinder" type="CSGCylinder" parent="."]
transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
radius = 0.6
height = 156.0
[node name="Handle" type="MeshInstance" parent="."]
transform = Transform( 100, 0, 0, 0, 100, 0, 0, 0, 100, 0, 0, 82.1522 )
mesh = ExtResource( 1 )
material/0 = null
[node name="LeftHand" parent="." instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.464408, 2.51943, 82.975 )
visible = false
[node name="RightHand" parent="." instance=ExtResource( 3 )]
transform = Transform( -1, 0, 0, 0, 1, 0, 0, 0, 1, 0.464, 2.51954, 82.9755 )
visible = false