translated movement to state machine
This commit is contained in:
parent
c3ff41e1e6
commit
ea3b68aef8
9 changed files with 98 additions and 19 deletions
|
|
@ -1,10 +1,13 @@
|
|||
[gd_scene format=3 uid="uid://dcqd0wo5y5a1g"]
|
||||
|
||||
[ext_resource type="CharacterData" uid="uid://bmudhddb0vedg" path="res://data/default_player_character.tres" id="1_jy05a"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_vcg8s"]
|
||||
|
||||
[sub_resource type="CylinderMesh" id="CylinderMesh_5kd2n"]
|
||||
|
||||
[node name="PlayerCharacter" type="PlayerCharacter" unique_id=1435471129]
|
||||
[node name="PlayerCharacter" type="Character" unique_id=1694717421]
|
||||
data = ExtResource("1_jy05a")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=511026275]
|
||||
shape = SubResource("CapsuleShape3D_vcg8s")
|
||||
|
|
@ -13,4 +16,10 @@ shape = SubResource("CapsuleShape3D_vcg8s")
|
|||
mesh = SubResource("CylinderMesh_5kd2n")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="." unique_id=932811285]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.90373915, 0.42808357, 0, -0.42808357, 0.90373915, 0, 2.1840205, 3.7269862)
|
||||
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 9.536743e-07, 18.920525, -0.37265897)
|
||||
current = true
|
||||
|
||||
[node name="PlayerInputState" type="PlayerInputState" parent="." unique_id=1290843255]
|
||||
start_active = true
|
||||
|
||||
[node name="PlayerMovementState" type="PlayerMovementState" parent="." unique_id=71639209]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue