104 lines
3.2 KiB
Text
104 lines
3.2 KiB
Text
[gd_scene load_steps=9 format=3 uid="uid://duc1ss0gqkrux"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dc7iqfgf7roj3" path="res://3d/coin_texture.png" id="1_y70ne"]
|
|
[ext_resource type="Texture2D" uid="uid://ddm4m24qgw6yp" path="res://3d/coin_metal.png" id="2_pivsm"]
|
|
|
|
[sub_resource type="Environment" id="Environment_pivsm"]
|
|
background_mode = 1
|
|
background_color = Color(1, 0, 1, 1)
|
|
|
|
[sub_resource type="Animation" id="Animation_q4kta"]
|
|
resource_name = "new_animation"
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = false
|
|
tracks/0/path = NodePath("Node3D/MeshInstance3D:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector3(1.5708, 0, -3.14159), Vector3(1.5708, 6.28319, -3.14159)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Node3D:rotation")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector3(0, 0, 0), Vector3(0, 6.28319, 0)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_y70ne"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Node3D/MeshInstance3D:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector3(1.5708, 0, -3.14159)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Node3D:rotation")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector3(0, 0, 0)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_pivsm"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_y70ne"),
|
|
&"new_animation": SubResource("Animation_q4kta")
|
|
}
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_q4kta"]
|
|
albedo_color = Color(1, 1, 0, 1)
|
|
albedo_texture = ExtResource("1_y70ne")
|
|
metallic = 0.27
|
|
metallic_specular = 0.63
|
|
metallic_texture = ExtResource("2_pivsm")
|
|
rim_enabled = true
|
|
rim = 0.27
|
|
refraction_enabled = true
|
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_y70ne"]
|
|
material = SubResource("StandardMaterial3D_q4kta")
|
|
|
|
[node name="Coin" type="Node3D"]
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(0.91775, 0.321879, -0.232656, -0.286026, 0.942088, 0.1751, 0.275544, -0.0941521, 0.956667, -0.622863, 0.843528, 3.00558)
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 5)
|
|
environment = SubResource("Environment_pivsm")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_pivsm")
|
|
}
|
|
autoplay = "new_animation"
|
|
|
|
[node name="Node3D" type="Node3D" parent="."]
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Node3D"]
|
|
transform = Transform3D(1, 2.37917e-09, 0, 3.82137e-15, -1.18959e-09, 1, -8.74228e-08, 0.0272146, 4.37114e-08, 0, 0, 0)
|
|
mesh = SubResource("CylinderMesh_y70ne")
|
|
skeleton = NodePath("../..")
|