Implemented physics interpolation
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user