trop de chose jpp
This commit is contained in:
@@ -1,13 +1,60 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://c74354tlmcg6h"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://c74354tlmcg6h"]
|
||||
|
||||
[ext_resource type="Script" path="res://script/player.gd" id="1_kjuyr"]
|
||||
[ext_resource type="PackedScene" uid="uid://b5rkwb64wgdwf" path="res://scene/gpu_particles_3d.tscn" id="2_ctykj"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_d8bnp"]
|
||||
|
||||
[node name="CharacterBody3D" type="CharacterBody3D" node_paths=PackedStringArray("head")]
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ohrfw"]
|
||||
albedo_color = Color(1, 0, 1, 1)
|
||||
|
||||
[sub_resource type="CapsuleMesh" id="CapsuleMesh_ha068"]
|
||||
radius = 0.1
|
||||
|
||||
[sub_resource type="Animation" id="Animation_njhrs"]
|
||||
resource_name = "finger"
|
||||
length = 3.0
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("GPUParticles3D:visible")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 2.96667),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [true, false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_1p8b7"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("GPUParticles3D:visible")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_jrykd"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_1p8b7"),
|
||||
"finger": SubResource("Animation_njhrs")
|
||||
}
|
||||
|
||||
[node name="CharacterBody3D" type="CharacterBody3D" node_paths=PackedStringArray("head", "anim", "particules")]
|
||||
script = ExtResource("1_kjuyr")
|
||||
SENSI = 0.002
|
||||
SPEED_PARTICULES = 50.0
|
||||
head = NodePath("head")
|
||||
anim = NodePath("AnimationPlayer")
|
||||
particules = NodePath("GPUParticles3D")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("CapsuleShape3D_d8bnp")
|
||||
@@ -19,3 +66,16 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.65, 0)
|
||||
transform = Transform3D(1, 7.81702e-05, -0.000170007, -7.81212e-05, 1, 0.000294683, 0.000170029, -0.00029467, 1, 0, 0, -1)
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="head"]
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
material_override = SubResource("StandardMaterial3D_ohrfw")
|
||||
mesh = SubResource("CapsuleMesh_ha068")
|
||||
|
||||
[node name="GPUParticles3D" parent="." instance=ExtResource("2_ctykj")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.424, 0)
|
||||
visible = false
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_jrykd")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user