Resetting Dolly Cam Position

I’m trying to reset the dolly cam position after my player character dies. This is what I’m using but it doesn’t seem to be working.

public class CinemachineController : MonoBehaviour
{
    public CinemachineVirtualCamera currentCamera;
    public CinemachineTrackedDolly.AutoDolly m_autoDolly;

    public void CameraReset()
    {
        CinemachineTrackedDolly dolly = currentCamera.GetCinemachineComponent<CinemachineTrackedDolly>();
        m_autoDolly.m_Enabled.Equals(!enabled);
        dolly.m_PathPosition = 0;
    }
}

I’m probably the wrong person to answer this one…but I believe what you want is OnTargetObjectWarped which (if I understand correctly) will allow you to inform CM that the character is relocating to a new location.

It’s your code. You need to do dolly.m_autodolly.enabled=false.