Implemented physics interpolation

This commit is contained in:
2024-02-27 21:05:55 +01:00
parent ca7fa120ea
commit 489a14061a
23 changed files with 226 additions and 68 deletions

View File

@ -1,5 +1,5 @@
class_name StateComponent
extends Node
extends CharacterComponent
enum State {
None,
@ -17,7 +17,7 @@ var _current: State
func _ready():
current = State.Idle
movement = owner.get_node("Movement")
movement = character.get_node("Movement")
func _process(_delta):
if current == State.Skill: