could someone please show me the code im new to unity/coding and making a school assessment
try something like this:
public Transform waypoint;
public int speed;
void Update() {
transform.LookAt(waypoint);
transform.position = Vector3.lerp(transform.position, waypoint.position, Time.deltaTime * speed)
}