-
Notifications
You must be signed in to change notification settings - Fork 4
/
Human-For-Scale.tscn
58 lines (40 loc) · 2.38 KB
/
Human-For-Scale.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
[gd_scene load_steps=7 format=3 uid="uid://b5i411e430syd"]
[ext_resource type="Script" path="res://Godot-Human-For-Scale/Assets/HumanController.gd" id="1_jh7dy"]
[ext_resource type="PackedScene" uid="uid://73ou0sg30v8f" path="res://Godot-Human-For-Scale/Assets/HumanModel.tscn" id="2_ajgv1"]
[ext_resource type="AudioStream" uid="uid://dsfef5dgmtub1" path="res://Godot-Human-For-Scale/Assets/Audio/Footstep1.wav" id="3_4ysf2"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_bca87"]
radius = 0.285
height = 1.778
[sub_resource type="SeparationRayShape3D" id="SeparationRayShape3D_xemv2"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_6jlvi"]
[node name="Human-For-Scale" type="CharacterBody3D"]
safe_margin = 0.01
script = ExtResource("1_jh7dy")
[node name="ModelRoot" type="Node3D" parent="."]
[node name="HumanModel" parent="ModelRoot" instance=ExtResource("2_ajgv1")]
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 0, 0)
[node name="JumpLandPlayer" type="AudioStreamPlayer3D" parent="ModelRoot"]
stream = ExtResource("3_4ysf2")
[node name="CollisionShape" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.889, 0)
shape = SubResource("CapsuleShape3D_bca87")
[node name="CameraPivot" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.544, 0)
[node name="SpringArm" type="SpringArm3D" parent="CameraPivot"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0, 0)
shape = SubResource("SeparationRayShape3D_xemv2")
spring_length = 2.1
[node name="Camera" type="Camera3D" parent="CameraPivot/SpringArm"]
fov = 60.0
[node name="AudioListener3D" type="AudioListener3D" parent="CameraPivot/SpringArm/Camera"]
[node name="RayCast3D" type="RayCast3D" parent="CameraPivot/SpringArm/Camera"]
target_position = Vector3(0, 0, -1)
hit_back_faces = false
[node name="PhysicsGun" type="Node3D" parent="CameraPivot/SpringArm"]
[node name="PhysicsObjectCollector" type="Area3D" parent="CameraPivot/SpringArm/PhysicsGun"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="CameraPivot/SpringArm/PhysicsGun/PhysicsObjectCollector"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, -1)
shape = SubResource("CapsuleShape3D_6jlvi")
[node name="RayCast3D" type="RayCast3D" parent="CameraPivot/SpringArm/PhysicsGun"]
target_position = Vector3(0, 0, -1)
hit_back_faces = false