Godot Version
4.6.1
Question
I’ve been following this youtube tutorial https://www.youtube.com/watch?v=kK5NXyIsEQI&t=668s
and at around 6min i get the error in the title I don’t understand why.
could someone help me ? I’m pretty new to game coding i’ve done a few small projects before but I’m trying to do a real game for once, and I’ve pretty much followed the video i have my own simple model with a skelelten and only 3 animations but it should work should’nt it ?
extends CharacterBody3D
@onready var input_gatherer = $Input as InputGatherer
@onready var model = $Model as PlayerModel
@onready var visuals = $Visuals as PlayerVisuals
func _ready():
visuals.accept_skeleton(model.skeleton)
model.animator.play("default")
func _physics_process(delta):
var input = input_gatherer.gather_input()
model.update(input, delta)
