Unity C# Rotation/ Quaternions

Hi im running in a problem since a while…and i dont know realy how…

look this is what i got.
a simple Waypoint system, wich works realy great.And i got a simple Waypoint follower wich moves from point to point.And now i want that the follower rotates with the waypoints z rotation.

Input is just the moving speed,rotation speed and at wich point the follower should start Rotation.

a lil snipped

Quaternion rot = pathContainer.WayPoints[startRotID].transform.rotation;
// get rotation from wayPoint

TotalRotationToDestination = pathContainer.WayPoints[startRotID].transform.rotation.z;
//get the value from z

float currentDuration = Time.time - StartTime;
float rotTime = currentDuration / TotalRotationToDestination;
//for lerpping

transform.Rotate(new Vector3(0,0, Mathf.Clamp(transform.rotation.z, startPos.z, destRot.z))); //should not overshoot the target

transform.rotation = Quaternion.Euler(0, 0, Mathf.Lerp(startPos.z, rot.z, rotTime));
//transform.Rotate(new Vector3(0, 0, Mathf.Lerp(startPos.z, destRot.z, rotTime))); <-dont work

it dosnt work at all.
Knows anybody how to solve this,i think its an easy Problem…
pls

greetz

actually i got it

float step = (rotSpeed * Time.deltaTime) * 2;
transform.rotation = Quaternion.RotateTowards(transform.rotation, destRot, step);

but im running i a new prob…im trying to explain
regular the follower LookForward with

lookRot = Quaternion.LookRotation(pathContainer.WayPoints[currentID].transform.position - transform.position);
transform.rotation = Quaternion.Slerp(transform.rotation, lookRot, Time.smoothDeltaTime * 5f);

but both together dont work

switch (lookDirection)
{
case LookDir.None:break;

case LookDir.LookForwardSmooth:

lookRot = Quaternion.LookRotation(pathContainer.WayPoints[currentID].transform.position - transform.position);

transform.rotation = Quaternion.Slerp(transform.rotation, lookRot, Time.smoothDeltaTime * 5f);
break;

case LookDir.Snapped:
transform.LookAt(pathContainer.WayPoints[currentID]);
break;

}

switch (rotation)
{
case Rotation.None: break;
case Rotation.RotateWitchPoints:

if (currentID >= startRotID)
{
Quaternion destRot = pathContainer.WayPoints[startRotID].transform.rotation;

float step = (rotSpeed * Time.deltaTime) * 2;
transform.rotation = Quaternion.RotateTowards(transform.rotation, destRot, step);

}

break;

its a bit a mess…sry