navmesh off mesh links and mecanim

when i use off mesh links, the character instantly appears at the end link after standing on the start link. i cant figure out how to get character to move over the link smoothly and with an animation. is there an example of how to use mecanim with off mesh links?

By default, NavMeshAgents are set to auto-traverse offmesh links. If you want to play a custom animation:

  1. Uncheck Auto Traverse Offmesh Links
  2. Set up a trigger so that when the character enters the link area it starts the animation, or monitor NavMeshAgent.isOnOffmeshLink. You can get the start and destination info for the link from NavMeshAgent.currentOffmeshLinkData.
  3. Do your traversal animation.
  4. When done, call NavMeshAgent.CompleteOffmeshLink(), then NavMeshAgent.Resume() to continue navigating around.