For some reason my enemy doesn't move, however it does face towards the player. I used the same script as a youtuber, and no one else seemed to have issues:
extends CharacterBody3D
const SPEED = 3.0
@export var player : Node3D
@export var turn_speed = 4.0
func _physics_process(delta):
if player != null:
$FaceDirection.look_at(player.global_transform.origin, Vector3.UP)
rotate_y(deg_to_rad($FaceDirection.rotation.y * turn_speed))
$NavigationAgent3D.set_target_position(player.global_transform.origin)
velocity = ($NavigationAgent3D.get_next_path_position() - transform.origin).normalized() * SPEED * delta
move_and_collide(velocity)
I tried getting rid of the protonscatter node, in case that was interfering with it, it was not. I tried moving the raptor up, in case it was colliding with the ground, and again, it was not. I'm honestly at a loss...
(also lmk if I forgot to include any important bits you'd need to see)