#Following LegionGames (3D Enemies with Pathfinding and Animations) Tutorial

10 messages · Page 1 of 1 (latest)

unreal parrot
#

my only guess is the @onready is doing the assignment after the _ready() fucntion's assignment

#

so can probs just remove the @onready and see what happens

tacit helm
#

I already tried it before I put the onready, it did the same thing

#

But I'll try it again tomorrow

unreal parrot
#

maybe check the player path too

#

and also probs post the exact error message too

tacit helm
#

So I changed the @onready var player = null to var player = null

neat drift
#

Did you set player_path in the editor?

tacit helm
#

I actually just needed to set it but now that I did the move_and_slide() isn't working it prompts the Function move_and_slide() not found in base self