move to apply_input_velocity on the subject
This commit is contained in:
+15
-7
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=17 format=3 uid="uid://8esyynmieyog"]
|
||||
[gd_scene load_steps=18 format=3 uid="uid://8esyynmieyog"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/runner.gd" id="1_d63rt"]
|
||||
[ext_resource type="Script" path="res://scripts/multiplayer/input.gd" id="2_xmliy"]
|
||||
@@ -8,6 +8,7 @@
|
||||
[ext_resource type="Script" path="res://scripts/states/run.gd" id="6_1teax"]
|
||||
[ext_resource type="Script" path="res://scripts/states/fall.gd" id="7_jfat4"]
|
||||
[ext_resource type="Script" path="res://scripts/states/walk.gd" id="8_phh70"]
|
||||
[ext_resource type="Script" path="res://scripts/states/dead.gd" id="9_bw4yb"]
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_ukf45"]
|
||||
properties/0/path = NodePath(".:player_id")
|
||||
@@ -70,24 +71,27 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||||
shape = SubResource("CapsuleShape3D_j6tb3")
|
||||
|
||||
[node name="Skin" type="Node3D" parent="."]
|
||||
[node name="RotationBase" type="Node3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="MainBody" type="MeshInstance3D" parent="Skin"]
|
||||
[node name="Skin" type="Node3D" parent="RotationBase"]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="MainBody" type="MeshInstance3D" parent="RotationBase/Skin"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||||
mesh = SubResource("CapsuleMesh_di3a0")
|
||||
skeleton = NodePath("../..")
|
||||
skeleton = NodePath("../../..")
|
||||
surface_material_override/0 = ExtResource("3_6c0ro")
|
||||
|
||||
[node name="Beak" type="MeshInstance3D" parent="Skin/MainBody"]
|
||||
[node name="Beak" type="MeshInstance3D" parent="RotationBase/Skin/MainBody"]
|
||||
transform = Transform3D(0.35, 0, 0, 0, -0.105655, 0.0906308, 0, -0.226577, -0.0422618, 0, 0.45, -0.3)
|
||||
mesh = SubResource("PrismMesh_fcj1v")
|
||||
|
||||
[node name="RightEye" type="MeshInstance3D" parent="Skin/MainBody"]
|
||||
[node name="RightEye" type="MeshInstance3D" parent="RotationBase/Skin/MainBody"]
|
||||
transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0.1, 0.6, -0.25)
|
||||
mesh = SubResource("SphereMesh_tudvv")
|
||||
|
||||
[node name="LeftEye" type="MeshInstance3D" parent="Skin/MainBody"]
|
||||
[node name="LeftEye" type="MeshInstance3D" parent="RotationBase/Skin/MainBody"]
|
||||
transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, -0.1, 0.6, -0.25)
|
||||
mesh = SubResource("SphereMesh_1gltg")
|
||||
|
||||
@@ -123,4 +127,8 @@ script = ExtResource("7_jfat4")
|
||||
unique_name_in_owner = true
|
||||
script = ExtResource("8_phh70")
|
||||
|
||||
[node name="Dead" type="Node" parent="StateMachine"]
|
||||
unique_name_in_owner = true
|
||||
script = ExtResource("9_bw4yb")
|
||||
|
||||
[connection signal="delta_synchronized" from="Sync" to="." method="_on_sync_delta_synchronized"]
|
||||
|
||||
Reference in New Issue
Block a user