initial commit
This commit is contained in:
+41
@@ -0,0 +1,41 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://uclpovq4c8qo"]
|
||||
|
||||
[ext_resource type="Script" path="res://Player.gd" id="1_jx17t"]
|
||||
|
||||
[sub_resource type="CapsuleMesh" id="CapsuleMesh_x6nb0"]
|
||||
radius = 0.05
|
||||
height = 0.3
|
||||
|
||||
[sub_resource type="CapsuleMesh" id="CapsuleMesh_n30sq"]
|
||||
radius = 0.3
|
||||
height = 1.6
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_2j6of"]
|
||||
radius = 0.8
|
||||
|
||||
[node name="Player" type="CharacterBody3D"]
|
||||
script = ExtResource("1_jx17t")
|
||||
|
||||
[node name="Pivot" type="Node3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
|
||||
|
||||
[node name="Camera" type="Camera3D" parent="Pivot"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.4, 0)
|
||||
fov = 60.0
|
||||
|
||||
[node name="Gun" type="MeshInstance3D" parent="Pivot/Camera"]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, -1, -4.37114e-08, -4.37114e-08, 4.37114e-08, -1, 1.91069e-15, 0.329452, -0.242565, -0.429142)
|
||||
mesh = SubResource("CapsuleMesh_x6nb0")
|
||||
|
||||
[node name="AudioListener3D" type="AudioListener3D" parent="Pivot/Camera"]
|
||||
current = true
|
||||
|
||||
[node name="Mesh" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
|
||||
visible = false
|
||||
mesh = SubResource("CapsuleMesh_n30sq")
|
||||
skeleton = NodePath("../Pivot")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.801599, 0)
|
||||
shape = SubResource("SphereShape3D_2j6of")
|
||||
Reference in New Issue
Block a user