% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/camera.R
\name{cgv_fly_to}
\alias{cgv_fly_to}
\title{Fly Camera to a Node}
\usage{
cgv_fly_to(viewer, node_id, duration = 1)
}
\arguments{
\item{viewer}{External pointer returned by \code{cgv_viewer}.}

\item{node_id}{Integer node identifier (1-based R index).}

\item{duration}{Animation duration in seconds.}
}
\value{
No return value, called for side effects: starts a camera
  animation toward the chosen node. Returns \code{NULL} invisibly.
}
\description{
Smoothly animate the camera to center on a given node.
Requires that \code{cgv_set_graph} was called first (for node positions).
}
