func _physics_process(delta):
await get_tree().physics_frame
nav_agent.target_position = foll_pos.global_position
var dir = (nav_agent.get_next_path_position() - global_position).normalized()
velocity = velocity.lerp(dir * SPEED, ACC * delta)
move_and_slide()
I don't know, I'm going to have to take a few days to think about it. I don't get it. I'm tired. I have plenty of other little projects here to keep me busy
3 comments