source: Studio/Player/player.tscn

godot4-dev
Last change on this file was 831a978, checked in by Jonathan Neufeld <support@…>, 3 years ago

Initial commit of Godot4 project Working world and movable player.

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[831a978]1[gd_scene load_steps=7 format=3 uid="uid://x3eomlkg4k3f"]
2
3[ext_resource type="Script" path="res://Player/player.gd" id="1_6m38e"]
4[ext_resource type="PackedScene" uid="uid://ch51exdyqd2gd" path="res://Interface/PlayerInterface.tscn" id="2_ky55a"]
5[ext_resource type="PackedScene" uid="uid://x5xg17a5b7b8" path="res://Interface/Pause.tscn" id="3_5y4wd"]
6[ext_resource type="PackedScene" uid="uid://biaj8xm1wa37p" path="res://Interface/Dead.tscn" id="4_fer32"]
7
8[sub_resource type="CapsuleMesh" id="CapsuleMesh_x4oja"]
9radius = 0.25
10height = 1.0
11
12[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ar3eg"]
13height = 1.75
14
15[node name="Player" type="CharacterBody3D"]
16collision_layer = 2
17script = ExtResource("1_6m38e")
18
19[node name="Body" type="MeshInstance3D" parent="."]
20layers = 2
21mesh = SubResource("CapsuleMesh_x4oja")
22
23[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
24transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
25shape = SubResource("CapsuleShape3D_ar3eg")
26
27[node name="Neck" type="SpringArm3D" parent="."]
28transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, -1)
29collision_mask = 2
30
31[node name="Head" type="Node3D" parent="Neck"]
32
33[node name="Camera" type="Camera3D" parent="Neck/Head"]
34transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.25, 0.15)
35keep_aspect = 0
36
37[node name="PlayerInterface" parent="." instance=ExtResource("2_ky55a")]
38
39[node name="Pause" parent="." instance=ExtResource("3_5y4wd")]
40visible = false
41
42[node name="Dead" parent="." instance=ExtResource("4_fer32")]
43visible = false
Note: See TracBrowser for help on using the repository browser.